Skip to content
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

[FEATURE] Integrate datesearch #869

Merged
merged 15 commits into from
Jan 27, 2023

Conversation

michaelkubina
Copy link
Collaborator

This PR integrates a datesearch, that can be activated within the search plugin and will be displayed on the website. When activated it presents two input fields for dates, so the users can input a range if necessary. When a datesearch was performed both the sorting form and the facets will recognise it and apply the filterquery as well. The filterquery is a simple range search (via join query parser over the uid) on the new mandatory solr-field "date". All language localizations have been applied.

This feature allows for an easy and convenient date-range search in any collection for all objects that have dates, e.g. in a newspaper-collection.

@sebastian-meyer sebastian-meyer added the ⚙ feature A new feature or enhancement. label Nov 24, 2022
Copy link
Member

@sebastian-meyer sebastian-meyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

Please see my comments below and please resolve the merge conflicts.

Classes/Controller/SearchController.php Outdated Show resolved Hide resolved
Configuration/ApacheSolr/configsets/dlf/conf/schema.xml Outdated Show resolved Hide resolved
Configuration/Flexforms/Search.xml Outdated Show resolved Hide resolved
Classes/Common/Indexer.php Outdated Show resolved Hide resolved
Resources/Private/Data/MetadataDefaults.php Outdated Show resolved Hide resolved
@sebastian-meyer sebastian-meyer merged commit 26c3117 into kitodo:master Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙ feature A new feature or enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants