[UIIN-1440] Filtering for Instance format fails Created: 19/Feb/21 Updated: 03/Nov/23 Resolved: 01/Mar/21 |
|
| Status: | Closed |
| Project: | ui-inventory |
| Components: | None |
| Affects versions: | None |
| Fix versions: | 6.0.0 |
| Type: | Bug | Priority: | TBD |
| Reporter: | Theodor Tolstoy (One-Group.se) | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | |||||||||
| Development Team: | Other dev | ||||||||
| Affected Institution: |
OTHER
|
||||||||
| Description |
|
Overview: Front-end searches
instanceFormatIds=="5cb91d15-96b1-4b8a-bf60-ec310538da66"
where it should search
instanceFormatIds="5cb91d15-96b1-4b8a-bf60-ec310538da66"
Steps to Reproduce:
Expected Results: The sample instance record with title "Transparent water" is found. Actual Results: No record is found. Additional Information:
instanceFormatIds = "5cb91d15-96b1-4b8a-bf60-ec310538da66"
This finds the records. To do: The "format" drop down menu should generate a CQL query with =, not ==. |
| Comments |
| Comment by Julian Ladisch [ 24/Feb/21 ] |
|
Cannot reproduce. This is what I do: Open https://folio-testing.dev.folio.org or https://folio-snapshot.dev.folio.org The sample data contains the "Transparent water" record with this property: "instanceFormatIds" : [ "5cb91d15-96b1-4b8a-bf60-ec310538da66" ] Go to inventory instance search, select "Query search" and enter instanceFormatIds = "5cb91d15-96b1-4b8a-bf60-ec310538da66" After pressing enter the "Transparent water" record is found. |
| Comment by Julian Ladisch [ 24/Feb/21 ] |
|
finds more than 100 records when searching instanceFormatIds = "b1d001a3-57ae-4e7c-aa6e-066d764a5fe7" |
| Comment by Theodor Tolstoy (One-Group.se) [ 24/Feb/21 ] |
|
Julian Ladisch The query search is not the issue. The Filtering in the UI is. |
| Comment by Theodor Tolstoy (One-Group.se) [ 24/Feb/21 ] |
|
If you filter for formats like "unmediated – volume" in bugfest you should get data back, but you are not. Or are you? This is the resulting URL in bugfest And this is the failing call to OKAPI: |
| Comment by Theodor Tolstoy (One-Group.se) [ 24/Feb/21 ] |
|
Same for Snapshot: Filtering for the format present in your Transparent water example renders nothing: URL: https://folio-snapshot.dev.folio.org/inventory?filters=format.5cb91d15-96b1-4b8a-bf60-ec310538da66&sort=title |
| Comment by Theodor Tolstoy (One-Group.se) [ 24/Feb/21 ] |
|
In Snapshot, the OKAPI call does not time out. Not sure if that is because of the amount of data or something else |
| Comment by Julian Ladisch [ 01/Mar/21 ] |
|
Thanks, I've changed the description and the project. |
| Comment by Charlotte Whitt [ 01/Mar/21 ] |
|
Hi Theodor Tolstoy (One-Group.se) and Julian Ladisch - this bug ticket is already filed - please see:
I'll close this ticket as duplicate. |
| Comment by Julian Ladisch [ 02/Mar/21 ] |
|
Reopening because there is no "Issue links" "duplicates" entry that links to the issue this duplicates. |