-
Notifications
You must be signed in to change notification settings - Fork 159
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
Allowing in-here search with empty query #10092
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
} | ||
|
||
return acc | ||
}, []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the sort
array helper before the join
to make sure that the scope is at the end (just specify a sort callback function that does nothing else than sorting items starting with scope:
to the end). Can be called in all cases, even on an empty result after the reducer finished, so you can keep the old structure of the code and only add the sort call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you! Could you add a bugfix changelog item please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💪
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Description
Requirement for "term" has been removed from forcing scope.
Ensuring that "scope" filter is moved to the end of search query, which removes possibility of query starting with "AND"
owncloud/ocis#7812 (comment)
Related Issue
Types of changes
Checklist: