javascript - Gte and Lte in angularjs -
i using angularjs , getting data api, trying filter result problem lte working gte not working!
$http.get($rootscope.baseurl + 'api/hotels/', { params: { page_size: $scope.page_size, page: $scope.page, goingto: goingto, ordering: $scope.sortby, price__lte: $scope.max_price_filter, price__gte: $scope.min_price_filter, star: $scope.filter.star, discount: 0 }
if i'm correct there not params object request, , problem seems in backend not angularjs. angular docs hope helped.
Comments
Post a Comment