Adding a "Use For" Alternative title for a taxonomy term causes duplicate 'Untitled' to display in search/browse results
|Assignee:||Dan Gillean||% Done:|
|Category:||Taxonomy / Term|
|Target version:||Release 2.4.0|
|Google Code Legacy ID:||Tested version:||2.3, 2.4|
Originally reported in the AtoM user forum, 2017-03-07: https://groups.google.com/d/msg/ica-atom-users/eOpAOFc_zQo/Wgqxbz10BAAJTo reproduce
- Navigate to one of the taxonomies, e.g. Places
- Create a new term, and add an alternate label in the "Use For" field. Save.
- Navigate to the search/browse page for the taxonomy. Use the sort button to display the most recent results.
Term browse UF label field shows "untitled" preceding the UF term.
See screenshot below (also attached for permanence).
No accidental duplication of blank UF row on save.
#3 Updated by Dan Gillean about 5 years ago
Note - the reporting user has provided a suggested fix in the forum. I will ask if he wants to submit a PR, but you might want to take a look at the proposed solution in advance to see if it makes sense, and conforms to our preferred coding practices. See: https://groups.google.com/d/msg/ica-atom-users/eOpAOFc_zQo/e8thSEJqBQAJ