Closed travischambers closed 1 week ago
i think i need to move the SearchLibrary
-> Library
conversion out of get_libby_availability
(also, it's probably a huge perf hit, if i'm hitting that over and over 🤦).
once that's moved out, i'll call it when a user clicks Add for their library. Then at the end of that method i'd add it to the url.
Similarly, if they click Remove, the method that's called will remove it from the URL.
This way, a user can bookmark/reuse a URL and keep all their state, without re-selecting or re-entering information on subsequent visits.