Bug #5615

Inherited reference codes appear in search results even when inheritance is turned off

Added by Tim Hutchinson over 8 years ago. Updated over 8 years ago.

Status:VerifiedStart date:09/20/2013
Priority:MediumDue date:
Assignee:José Raddaoui Marín% Done:


Category:Information object
Target version:Release 1.4.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:


This applies to 1.3.1, so I don't know if it has been addressed in the current 1.x development branch but I couldn't find a ticket based on a quick search.

If inherit reference code is set to "no", the full reference code (e.g. country code, institution code, identifier inherited from higher levels) incorrectly appears in search results (brief view).

This does not occur in 2.x.

Related issues

Related to Access to Memory (AtoM) - Bug #5863: reference code displaying inconsistently in brief view (a... Verified 10/23/2013
Related to Access to Memory (AtoM) - Bug #5851: Advanced search - search in identifier only returns exact... Duplicate 10/22/2013


#1 Updated by Dan Gillean over 8 years ago

  • Category set to Information object
  • Assignee set to José Raddaoui Marín
  • Target version set to Release 1.4.0

Thanks for finding this, Tim. I've assigned the issue to 1.4

To reproduce

1) Add or import a fonds with several levels of description, each with unique identifiers at each level. Ex:
  • Fonds-level: AAA
  • Series-level: BBB
  • File-level: CCC

2) Search for CCC. View results: in the search result details for the record, the reference code is listed as AAA-BBB-CCC.

3) Navigate to Admin > Settings > Global, and set "Inherit reference code (information object)" to "No". Save

4) Repeat step 2.

Resulting error
Reference code in search result details still says AAA-BBB-CCC

Expected result
Reference code in search result dtails says CCC

#2 Updated by José Raddaoui Marín over 8 years ago

  • Status changed from New to QA/Review
  • % Done changed from 0 to 100

I added both reference codes (inherit and not) to the search index so you don't need to rebuild the search index each time you change this setting. But you'll need to rebuild the search index once to update the existing descriptions with both codes.

#3 Updated by Dan Gillean over 8 years ago

  • Status changed from QA/Review to Verified

Great! works.

Also available in: Atom PDF