-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Samples Table: Determine query type (#873)
* add advanced_query? * move logic of advanced_query * add pagy query to a concern, change select to use ransack * fix comment * move select query to concern * add missed include to groups samples controller * cleanup comments in samples query * change select to use ransack or searchkick dependent on advanced_query * refactor logic so pagy results are returned from query model * undo testing change * fix fallback in query.results * move limit and page default values to query model * rename action to pagy_query * rename action to query * utilize kwargs for query.results
- Loading branch information
1 parent
13ecb2f
commit 5ff9e2d
Showing
3 changed files
with
24 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters