docbrown/spec
Dana Scheider f6a4c844cd
Implement chronological sorting of search results (#8193)
* Implement search ordering by allowing sort_by and sort_direction
params to be passed through from the search form/page.

* Change ID of select to 'sort' instead of 'order' for consistency

* Fix styling and data attributes of select options

* Enable front end to pass sort_by and sort_direction params for searches to the back end

* Ensure that only query string params that are supposed to be changed are changed in each function

* Respond to review comments (additional commits to come but these were the quick changes)

* Move options for select into template

* Use addEventListener instead of using onchange in response to review comments

* Add tabs for sorting search results

* Finish implementing tabs for ordering search results

* Remove CSS rule applying to element that no longer exists

* Remove more rules created for an element that has been removed

* Remove more code added for the select dropdown that I've removed

* Remove duplicate jobs banner
2020-06-11 13:11:01 +02:00
..
black_box Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
decorators nothing to see here....except maybe reverting a push to master (#8308) 2020-06-05 20:34:21 -05:00
factories Display site-wide announcements (#8301) 2020-06-08 13:52:53 -04:00
fixtures Bump sprockets from 4.0.0 to 4.0.2 (#8327) 2020-06-08 10:50:36 -04:00
helpers [deploy] Routine Rubocop fixes (#8293) 2020-06-05 18:46:10 -04:00
initializers [deploy] Add API Key to API Write Throttle (#8110) 2020-05-28 09:45:01 -05:00
labor nothing to see here....except maybe reverting a push to master (#8308) 2020-06-05 20:34:21 -05:00
lib Routine rubocop fixes (#8137) 2020-05-29 11:56:52 +02:00
liquid_tags Also allow Asciinema URLs, not only IDs (#8288) 2020-06-05 15:37:45 +02:00
mailers Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
models Add json template to Pages (#8357) 2020-06-10 09:42:15 -05:00
policies [deploy] New Feature: Mod Actions Panel (#7777) 2020-06-08 13:24:18 -04:00
queries/internal Limit the Number of API Keys a User Can Have (#7870) 2020-05-15 11:33:02 +02:00
requests Properly return json (#8395) [deploy] 2020-06-10 17:38:50 -05:00
routing Remove harcoded shop strings (#7319) 2020-04-16 14:51:23 +02:00
serializers/search Clear Elasticsearch Data Instead of Resetting Entire Index for Specs (#7602) 2020-04-30 11:59:10 -04:00
services Implement chronological sorting of search results (#8193) 2020-06-11 13:11:01 +02:00
support Flaky Spec Fixes: Override Warden Test Helpers to Prevent Auth Race Conditions (#8379) 2020-06-10 09:30:36 -05:00
system Flaky Spec Fix: Clear Elasticsearch Data For js: true Specs to Fix Server Errors (#8388) 2020-06-10 14:12:19 -05:00
tasks [deploy] Create FastlyConfig & refactor params safe list (#7630) 2020-05-01 11:23:48 -04:00
uploaders Some RSpec fixes (#6757) 2020-03-24 13:16:19 -04:00
views [deploy] Authentication refactoring: add available and enabled providers (#7505) 2020-04-28 16:16:28 +02:00
workers Flaky Spec Fixes: Dont Assume No Elasticsearch Data, Refresh before delete_by_query (#8354) 2020-06-09 07:55:28 -05:00
rails_helper.rb Spec Cleanup: Remove Unused and Redundant Code from Specs (#8385) 2020-06-10 16:59:31 +02:00
spec_helper.rb Update .simplecov (#8078) 2020-05-27 14:37:21 -04:00