Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced Search: Add operator "value in [array]" #10529

Closed
whatisgalen opened this issue Jan 16, 2024 · 0 comments
Closed

Advanced Search: Add operator "value in [array]" #10529

whatisgalen opened this issue Jan 16, 2024 · 0 comments

Comments

@whatisgalen
Copy link
Member

whatisgalen commented Jan 16, 2024

If I have a node with concept-list and the concept collection is pretty large, sometimes I want to filter by "show me resources where the value is in this list of values". The only way to do that is to have a single "value equals [some value]" facet for every single value. There is a hard limit for query character limit when handling request URLs so this breaks pretty quickly after less than 20 facets are applied. It would be better to have an operator option of "value in list" and then a multi-select for all the values to query against as this reduces the character limit considerably.

@chiatt chiatt added this to pipeline Jan 16, 2024
@chiatt chiatt moved this to 📋 Backlog in pipeline Jan 25, 2024
whatisgalen added a commit that referenced this issue Feb 14, 2024
whatisgalen added a commit that referenced this issue Feb 14, 2024
…n concept adv search re #10529"

This reverts commit 8b826aa.

reverts commit
whatisgalen added a commit that referenced this issue Mar 28, 2024
…f self.multi was init false before param.val was inherited re #10529
whatisgalen added a commit that referenced this issue Mar 28, 2024
…_operators

merges latest from dev/7.6.x along with some changes from alt branch re #10529
whatisgalen added a commit that referenced this issue Mar 28, 2024
chiatt pushed a commit that referenced this issue Apr 8, 2024
* creates helper method for concept datatype append_search_filter for lists, re #10529

* calls helper method for concept datatype for cases any, all, and not in list, re #10529

* commits translations for in_list adv search ops, re #10529

* adds translation in_list options to select2config in concept datatype view, re #10529

* creates alternate select2 that can be multi for in_list ops in concept adv search re #10529

* creates alternate select2 to handle multi select for in_list ops re #10529

* Revert "creates alternate select2 to handle multi select for in_list ops re #10529"

This reverts commit 5a067f5.

reverts commit

* Revert "creates alternate select2 that can be multi for in_list ops in concept adv search re #10529"

This reverts commit 8b826aa.

reverts commit

* swaps array type checking to before check for self.multi in concept-select re #10529

* on select2-config init, falls back on array type check of valueList if self.multi was init false before param.val was inherited re #10529

* clones select2config in concept-select vm to support simultaneous select2config for multiselect re #10529

* init select2multi in concept select template if adv search op support multiselect re #10529

* updates str formatting for search filter nodeid str re #10529

* replaces if/elif/else blocks with match/case for in_list search filter method re #10529

* rm unused arg request from in_list search filter method re #10529

* corrects translation declarations for in_list text values re #10529

* moves 2nd if block into else if in concept-select vm for casting valueList as arr re #10529

* conforms translation vars to single names re #10529

* refs corrected translation vars in concept-select template re #10529
@chiatt chiatt closed this as completed Apr 8, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in pipeline Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants