-
Notifications
You must be signed in to change notification settings - Fork 483
feat(search) - possibility to search in selected upload only #1804
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
feat(search) - possibility to search in selected upload only #1804
Conversation
d09e408
to
2f6083f
Compare
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.
Few suggestions.
2f6083f
to
a9b069f
Compare
Yes, sorry - forgot to push updated version - done |
a9b069f
to
763f9b9
Compare
6e7d5a4
to
6a865a8
Compare
Signed-off-by: Piotr Pszczola <[email protected]>
6a865a8
to
5e4fae2
Compare
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.
Changes looks good.
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.
Tested, working fine.
This feature adds possibility to search only in specified upload while currently it is possible to do it in all available uploads
Closes: #1280
Description
Search option for all available uplads only is not very useful when there is more than 3-5 uploads user has access to.
This feature adds possibility to choose in which upload user wants to search in.
List od available uploads for user is dynamically loaded from DB.
Changes
src/www/ui/search-helper.php
filled with all uploads user has access to (plus option to choose to search in All uploads)src/lib/php/Dao/UploadDao.php
to retrieve all uploadssrc/www/ui/search-helper.php#GetResults
to filter search results only for selected uploadHow to test
Search results should be shown only for Upload selected from dropdown menu.
For --All uploads -- results from all uploads should be shown (as previously, before this feature)