filtering for number of products sold was no filtering correctly
Changes
in views/product.py the sold_filter under list was showing less than number sold and not greater than which was not displaying the proper products that had been sold at or more than the specified number
Requests / Responses
Request
GET /products?number_sold=2 gets products that have been sold 2 or more times
filtering for number of products sold was no filtering correctly
Changes
views/product.py
thesold_filter
under list was showing less than number sold and not greater than which was not displaying the proper products that had been sold at or more than the specified numberRequests / Responses
Request
GET
/products?number_sold=2
gets products that have been sold 2 or more timesResponse
HTTP/1.1 200 OK
Testing
Description of how to test code...
http://localhost:8000/products?number_sold=1
Related Issues