Fix Defect: Advanced Search date filter
The date filter only works for year (not day or month) in the advanced search for Primo Central records.
This is a known issue with searches for Primo Central records. Primo Central searches on the creationdate field, which doesn't have a month/day, only year. Therefore, if you use the Advanced Search Start Date/End Date fields, the results will include Primo Central items outside of the month/day range.
Please fix this defect to allow searching on day, month, and year.
-
Corinna Baksik commented
You can hide the month/date fields using the following CSS. You may have to make some additional adjustments for alignment.
prm-search-bar .advanced-search-tabs .advanced-drop-downs.marginless-inputs md-select[ng-model*="startDay"],
prm-search-bar .advanced-search-tabs .advanced-drop-downs.marginless-inputs md-select[ng-model*="startMonth"],
prm-search-bar .advanced-search-tabs .advanced-drop-downs.marginless-inputs md-select[ng-model*="endDay"],
prm-search-bar .advanced-search-tabs .advanced-drop-downs.marginless-inputs md-select[ng-model*="endMonth"] {
display:none;
}
prm-search-bar .advanced-search-wrapper .date-range-inputs md-input-container input[ng-model*="startYear"],
prm-search-bar .advanced-search-wrapper .date-range-inputs md-input-container input[ng-model*="endYear"] {
margin-left:-154px;
} -
Manu Schwendener commented
Filtering for year is not precise, either:
If I search for corona OR covid published in 2023, I get 28 titles.
Most of them have 2023 as the date, but not all of them
https://basel.swisscovery.org/discovery/search?query=any,contains,corona%20OR%20covid,AND&pfilter=dr_s,exact,20230101,AND&pfilter=dr_e,exact,20231231,AND&tab=41SLSP_CDI&search_scope=CentralIndex&vid=41SLSP_UBS:live&mode=advanced&offset=0 -
Manu Schwendener commented
> still broken in CDI
If it can't be fixed, remove the fields for month and day in advanced search.
(If it can be fixed, but only applies to CDI, it should only be visible for search profiles that include CDI)
---
Example: unlikely that there have been 113'450 CDI titles published about Covid or Corona in the first half of August 2022 (number is the same if I change to 1.1.2022-17.8.2022)
---
Additional point: if I look at the year facet, the range is from 2014 to 2023; this seems to be just a display error in the facet, though: when I change it to 2022-2022, the number of hits doesn't drop.
---
On the plus side: facets "From last week" and "From last month" should work correctly now
-
B. Cooling commented
@Peta, yes, it's still broken.
-
Peta Hopkins commented
Is this still the case for CDI records?
-
Shelley commented
This is a no-brainer and should be corrected asap.
-
Anonymous commented
This is important for out librarians. Thank you.
-
Christina commented
I second what Brian said. Please fix this to allow for basic search functionality.
-
Angela commented
Students need to use the date filter to be able to access resources in their desired time frame.
-
Aisha Gaten commented
Critical function for a discovery tool! Please address this.
-
Lori Lisowski commented
Agreed!
-
Brian commented
Core functionality like this shouldn't require a vote campaign to fix. Get it done EXL!