[Archivesspace_Users_Group] PUI search default
Tang, Lydia
ltang5 at msu.edu
Thu Apr 9 13:15:32 EDT 2020
I wasn’t able to find it either. It seems like a widely desired change to have the search functionality default changed from “or” to “and.” Could someone create a ticket for it?
https://archivesspace.atlassian.net/secure/Dashboard.jspa
Thanks!
Lydia
Co-leader, Dev. Pri.
From: <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of "Joshua D. Shaw" <Joshua.D.Shaw at dartmouth.edu>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Date: Thursday, April 9, 2020 at 11:57 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] PUI search default
The PUI is tricky. I found that I needed to override the search method in the PUI SearchController to get an "and" by default. There may be a JIRA ticket in for this, but I'm not finding it in a quick search.
Joshua
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Jenny Manasco <j.manasco at abhsarchives.org>
Sent: Thursday, April 9, 2020 9:37 AM
To: archivesspace_users_group at lyralists.lyrasis.org <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] PUI search default
We are trying to change our default search parameter in the PUI. We’ve added
AppConfig[:solr_params] = { "q.op" => "AND" }
to the config file and rebooted but the PUI still gives us “OR” results.
Is there something else we need to change?
v. 2.5.1
VM running under KVM
CentOS Linux 7.0
30 GB Hard Drive (4 GB in use)
4096 MB of RAM
2 CPUs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200409/330b158e/attachment.html>
More information about the Archivesspace_Users_Group
mailing list