Bug #7419

Fix public search of Alternative Identifiers

Added by José Raddaoui Marín about 6 years ago. Updated about 6 years ago.

Status:VerifiedStart date:10/20/2014
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

0%

Category:Search / Browse
Target version:Release 2.1.1
Google Code Legacy ID: Tested version:2.1
Sponsored:Yes Requires documentation:

Description

Searching only a word as a public user for Alternative Identifiers (label or identifier) that has more than one word doesn't return results.

To reproduce:
- Create archival description
- Add alternative identifier with more than one word, and other with only one. For example:

Label: "Foo Bar", Identifier: "123"
Label: "Alternative", Identifier: "456"

- As a public user search using the search box:

Searching for "Alternative" will return the archival description
Searching for "Bar" won't return the archival description

Expected result:
- The archival description should appear in the results in both cases

History

#1 Updated by José Raddaoui Marín about 6 years ago

  • Status changed from New to Code Review
  • Assignee changed from José Raddaoui Marín to Jesús García Crespo

PR: 64

#2 Updated by Jesús García Crespo about 6 years ago

  • Status changed from Code Review to Feedback
  • Assignee changed from Jesús García Crespo to José Raddaoui Marín

LGTM

#3 Updated by José Raddaoui Marín about 6 years ago

  • Status changed from Feedback to Deploy
  • Assignee changed from José Raddaoui Marín to David Juhasz

Fixes added to qa/2.2.x. Ready for deploy.

The search index needs to be rebuilt.

#4 Updated by Dan Gillean about 6 years ago

  • Status changed from Deploy to Verified

Confirm that the fix works for both key and value searching - e.g. label, and alternative ID. Works also with boolean special characters - e.g. 6969* will return an alternativeID with a value of 696969696969. Confirmed that public users will receive matching results when the related description is published, but results will NOT be returned when the description is marked draft and the user is public (e.g. not logged in).

#5 Updated by David Juhasz about 6 years ago

Radda, please cherry pick this fix to stable/2.1.x then assign ticket back to me.

#6 Updated by David Juhasz about 6 years ago

  • Status changed from Verified to Feedback
  • Assignee changed from David Juhasz to José Raddaoui Marín

#7 Updated by José Raddaoui Marín about 6 years ago

  • Assignee changed from José Raddaoui Marín to David Juhasz

#8 Updated by David Juhasz about 6 years ago

  • Assignee changed from David Juhasz to Dan Gillean

Dan, please QA on the 2.1 test site.

#9 Updated by David Juhasz about 6 years ago

  • Status changed from Feedback to QA/Review

#10 Updated by Dan Gillean about 6 years ago

  • Status changed from QA/Review to Deploy
  • Assignee changed from Dan Gillean to David Juhasz

Requires deployment of stable/2.1.x test site (which can then mean the mothballing of the qa/2.1.x test site). Details on related Asana deployment task, here: https://app.asana.com/0/9697050329645/18789079517138

Once a SysAdmin has been assigned and the site is deployed, please set this issue to QA/Review and reassign to me for testing.

#11 Updated by Hector Akamine about 6 years ago

  • Status changed from Deploy to QA/Review
  • Assignee changed from David Juhasz to Dan Gillean

Test site is live on http://stable-21x.test.artefactual.com/ with Archeion data. Ready for QA/Review.

#12 Updated by Dan Gillean about 6 years ago

  • Status changed from QA/Review to Verified

Also available in: Atom PDF