Expected behaviour
In the Archival Storage tab, you can build complex queries by selecting the "Add new" button to bring up a second row of search boxes. There are three Boolean operators - "and", "or", and "not". The "and" and "or" options seem to be working fine, but if you use the "not" option the search breaks.
(Just a note - it's possible that I am interpreting the Boolean logic incorrectly, it's been a while.)
Current behaviour
Adding a "not" line to the search results in the search just kind of... breaking.
Steps to reproduce
Search for something like the AIP UUID.
Click on "Add new" and select "not" from the operators dropdown, then search for some parameter that appears in the search results from Step 1 that you can exclude - e.g. I want all of the items from the AIP with the above UUID but NOT .png files.
There was 1 PNG file in the search results in Step 1, so the results in Step 2 should have been 10 entries (all of the files in the AIP except for the PNG.)
Your environment (version of Archivematica, operating system, other relevant details)
AM 1.10.1
For Artefactual use:
Before you close this issue, you must check off the following:
[ ] All pull requests related to this issue are properly linked
[ ] All pull requests related to this issue have been merged
[ ] A testing plan for this issue has been implemented and passed (testing plan information should be included in the issue body or comments)
[ ] Documentation regarding this issue has been written and merged
[ ] Details about this issue have been added to the release notes (if applicable)
Expected behaviour In the Archival Storage tab, you can build complex queries by selecting the "Add new" button to bring up a second row of search boxes. There are three Boolean operators - "and", "or", and "not". The "and" and "or" options seem to be working fine, but if you use the "not" option the search breaks.
(Just a note - it's possible that I am interpreting the Boolean logic incorrectly, it's been a while.)
Current behaviour Adding a "not" line to the search results in the search just kind of... breaking.
Steps to reproduce
There was 1 PNG file in the search results in Step 1, so the results in Step 2 should have been 10 entries (all of the files in the AIP except for the PNG.)
Your environment (version of Archivematica, operating system, other relevant details) AM 1.10.1
For Artefactual use:
Before you close this issue, you must check off the following: