Issue: Search Box does not appear after selecting it in the filter of the admin list. #1874
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the first solution described below that fully hides the "Search Box" from the filter list to avoid this confusion. The previous solution of hiding the "Search Box" is incomplete and still displays the "Search Box" in the "Disabled Filters" column. The "Search Box" is filtered out of the "Disabled Filters" by this commit.
The following are the results of the investigation into this problem: The Search Box filter, when selected, gets saved to the database and returned to the UI on an appropriate
/submission-list/filter-columns-by-user
call.What is happening is that the Search Box is explicitly being removed from the filter list:
Vireo/src/main/webapp/app/controllers/submission/submissionListController.js
Line 150 in 61fb587
And then later is handled differently as an "Excluded Column":
Vireo/src/main/webapp/app/controllers/submission/submissionListController.js
Line 172 in db2b4ca
It appears to be originally added here with the exluded column:
Vireo Slack messages relating to Search Box:
Referenced Github issues from the conversations: