Bug #7825

Part of information in search browse results does not include culture fallback

Added by Dan Gillean over 7 years ago. Updated about 7 years ago.

Status:VerifiedStart date:01/15/2015
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

0%

Category:I18N
Target version:Release 2.2.0
Google Code Legacy ID: Tested version:2.2
Sponsored:No Requires documentation:

Description

To reproduce

  • In an installation whose default culture is English, flip the interface to French
  • Create a new description in the French interface, with children
  • Include a unique search term in the child description, "foo", and save
  • Flip interface back to English
  • Perform a search for "foo"

Resulting error
In returned search results, Part of information is listed as "Untitled"

Expected results
Culture fallback allows the French title to display if no English translation is available.

chelmsford-french-facet-english-interface.png (112 KB) Dan Gillean, 04/23/2015 02:22 PM

chelmsford-french-facet-french-interface.png (113 KB) Dan Gillean, 04/23/2015 02:22 PM


Related issues

Related to Access to Memory (AtoM) - Feature #7651: Include "Part of" information with hyperlink to top-level... Verified 12/03/2014

History

#1 Updated by Dan Gillean over 7 years ago

  • Related to Feature #7651: Include "Part of" information with hyperlink to top-level parent description in search and browse results added

#2 Updated by Mike Gale about 7 years ago

  • Status changed from New to Code Review
  • Assignee changed from Mike Gale to José Raddaoui Marín

#4 Updated by Mike Gale about 7 years ago

  • Status changed from Code Review to In progress
  • Assignee changed from José Raddaoui Marín to Mike Gale

#5 Updated by Mike Gale about 7 years ago

  • Status changed from In progress to Code Review
  • Assignee changed from Mike Gale to José Raddaoui Marín

#6 Updated by Mike Gale about 7 years ago

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

Actually maybe I'll let Jesús take a look at this one. I don't know how busy Radda is these days and I already assigned 2 PRs to CR to him :)

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

  • Status changed from Code Review to In progress
  • Assignee changed from Jesús García Crespo to Mike Gale

I did the review with the others, it looks great Mike!

#8 Updated by Mike Gale about 7 years ago

  • Status changed from In progress to QA/Review
  • Assignee changed from Mike Gale to Dan Gillean

#9 Updated by Dan Gillean about 7 years ago

Unfortunately the behavior here is sort of unexpected - and it is different when using the language filter vs flipping the interface to french.

To test:

  • Add a french title to an english description. Save. Flip the interface back to English
  • Go to Browse > Archival descriptions. Set the language facet to "French"
  • Remove the top-level description filter and find a child record from your description with a French title

Resulting error: English title is still displayed in Browse results.

Note - I'm not sure if we want to consider this an error or not. The English language is still the default in the interface - though the results are elsewhere showing the French descriptions, so if one exists for the parent as well, there's an argument we should show it here.

  • Now flip the interface to French, and look at the results

Resulting error: even when there IS a French title, and the French facet is engaged, the "Part of" information always shows "Sans titre" (e.g. no title). This is the same whether or not the french language facet is on or not.

See attached screenshots.

#10 Updated by Dan Gillean about 7 years ago

I've talked to Sarah, and we've agreed that feedback case A (French language facet, English interface language) is currently not the ideal behavior.

If we are showing French records, with french info in all the stub fields, and there IS a title in French for the parent record, then the French title should display in the "Part of." If the child record is translated, but there is no French title available for the parent, then it should fall back to the English.

#11 Updated by Dan Gillean about 7 years ago

  • Status changed from Feedback to Verified
  • Assignee changed from Mike Gale to Dan Gillean

Turns out this required a search index rebuild. Working properly now :)

Also available in: Atom PDF