-
Notifications
You must be signed in to change notification settings - Fork 505
Description
Describe the bug
This bug can be reproduced in versions 7.x, 9.x, and probably 8.x as well (I have not tested it in 8.x).
If a title starts with "A", "As", "O", or "Os" (for example: "O papel...", "A birth...") and the dc.title field contains a text_lang value like "pt_BR", "por", or "en_US", then when browsing by title and searching for the item's title, the item is not found.
However, if text_lang is changed to "pt-BR", "en" or left empty, the item can be found when browsing by title and searching for the title.
To Reproduce
Steps to reproduce the behavior:
- Log in and deposit an item with a title like "O papel...", "A birth...", etc. (Or just find an item that fits the requirements and proceed).
- Edit the item, adding a value to the Lang field of dc.title, such as "pt_BR", "por", etc.
- Go to "Browse by Title" and search for the title of the deposited item.
Expected behavior
If the Lang value of dc.title contains a form like "pt_BR", "por", or similar, and the title starts with "A", "E", "I", "O", "U", or "As", the item will not show up when using the search of "Browse by Title".
Proofs
Item created in sandbox to test it: https://sandbox.dspace.org/items/bdaf0451-b966-4008-8259-f55155224f95
An item already in the sandbox that matches the bug: https://sandbox.dspace.org/entities/publication/bb399a20-8fb5-4f19-9bdc-d9bc23cbd04f/full
When lang of dc.title is "por" (ISO 639-2 for portuguese)
When lang of dc.title is "pt_BR"
When lang of dc.title is "pt"
When lang of dc.title is "en" (works as expected)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status







