Opened 5 years ago
Last modified 5 years ago
#1820 new enhancement
Disambiguate items in Related items listing — at Initial Version
| Reported by: | fbennett | Owned by: | dstillman |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | interface | Version: | 2.1 |
| Keywords: | Cc: | fbennett |
Description
The Related tab on an item currently shows the getDisplayTitle() string for each related item. In many common use cases for related items (book reviews, alternative editions, law cases) the title alone does not discriminate between the items, necessitating back-and-forth navigation to identify which source in the list is of interest.
The attached patch implements a disambiguated Related items listing, which is performing well in the multilingual branch. Here is a description of the algorithm (also outlined in the thread linked above).
Slots
- There are two label slots for each related item (one left- and one right-aligned).
Slot fillers
- The author name always shows through in the first slot, if
- it is present; and
- it differs from the author of the current item.
- Three other slot fillers are available (attempted in order):
- the title (or short title);
- a composite of volume, issue, and container title; and
- the date.
- If 2.1 or 2.2 matches any other item in the listing, it is dropped, and the next info chunk is used instead.
- If no info chunks are available (and useful for disambiguation), the first slot gets an empty label and the year goes in the last.
Note: See
TracTickets for help on using
tickets.