rhodes369/rhodes-ror — pull request #80 by doktorj (2012-03-25 10:43:23+00:00)
Title: got all search filters working with antiques via ajax

- renamed 'Search by' to 'Filter by' since that is a more accurate description of what is happening here

- note that there is still an issue if you do an ajax search, then leave the page then hit back, the previous filters seems to remain selected, but it defaults back to showing all products - so we have to figure out if we we want to reset the filters on page load (if we want to show all on hitting the back button, then we probably want to reset filters) otherwise find a solution to either auto run the filters via haml on initial page load, or auto run the filters via ajax on page load...or some other solution. (note that i still have all the cookie filters saving code commented out but working if we or the client wants that).

- eph, if you could add a search loading animation wheel/div somewhere that i can show/hide when doing searches that would be ideal, since the search results will probably be slower when not running on our locals.

- also refactored and cleaned up some stuff, although more stuff could/should be refactored and made more DRY for the search stuff in the mat model/controller search methods.