Learn how to dynamically sort a query via a user-based selection
👍 If You Enjoy This Video, Consider Hitting The Like Button!
👨💻 Series Source Code: https://github.com/adocasts/lets-lear...
🥁 Subscribe To Stay Notified For New Videos: https://www.youtube.com/adocasts?sub_...
Subscribe to Adocasts Plus to gain access to all our lessons and more!
https://adocasts.com/pricing
In this lesson, we'll learn how we can add a user-selected sort option to our filters. Then, we'll apply the selected filter to our movie query
⏰ Timestamps
00:00 - Refactoring Our Movie Query Into A Service
01:56 - Defining Our Sort Filter Options
03:12 - Adding Our Sort Filter Input
04:06 - Applying Active Sort To Our Query
05:55 - Adding Released Date Asc & Desc Sort Options
------------------------- Socials --------------------------
Website: https://adocasts.com
Threads: https://threads.net/@adocasts
Twitter: / adocasts
GitHub: https://github.com/adocasts