Bulk Update on Search Results
Fixes
Fixes for #280 (closed) by @shivohamangal
Description
This pr adds a bulk update button on the search results page. On clicking this button, a modal opens and the user can choose the fields they want to update for all the artifacts(in the search results) with the same value. Upon clicking the bulk update button in the modal, the user is redirected to the bulk update page where they can update the fields.
Type of PR This PR is a feature.
Technicalities
Tests
- Search for artifacts on the home page http://127.0.0.1:2354/
- Click on "Update Search Results Metadata" at the bottom of the "Advanced Features" section, you will be prompted with a modal.
- Select fields to be bulk updated from the modal.
-
is public
andis inscription public
are only visible to users with proper access. - Now click on "Bulk Update". You will be redirected to the bulk update index.
- Enter the values in the fields and click on save to change those values for all the artifacts.
Screenshots
Checklist:
-
My pull request has a descriptive title (not a vague title like "Update index.md
"). -
My pull request targets the phoenix/develop
branch of the repository. -
My commit messages follow best practices. -
My code follows the established code style of the repository. -
I added tests for the changes I made (if applicable). -
I added or updated documentation (if applicable). -
I tried running the project locally and verified that there are no visible errors.
Edited by Shivoham Angal