CCirbo / Little_Shop

1 stars 2 forks source link

Added test for sort by price and route and contoller, #50

Closed MDelarosa1993 closed 3 weeks ago

MDelarosa1993 commented 3 weeks ago

This PR introduces sorting functionality to the ItemsController:

This update enables fetching items sorted by price from low to high, improving the API's capability to deliver ordered item lists.

jimmacur commented 3 weeks ago

Melchor, great job on this! I noticed you’ve added sorting by price to the items index action—love that feature. The changes to the controller, model, and routes all look solid. The test updates for sorting by price are also a nice touch. Everything seems to be in order. Thanks for your work on this!