https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44128 Bug ID: 44128 Summary: Staff detail has no list of other editions from the local catalog Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: new feature Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: michael.mundet@gmail.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Target Milestone: --- On the staff bibliographic detail page, show other editions of the same work that are already in this catalog, so a librarian can open one when the current edition is unavailable. The list is staff-only and loads after the page. A new system preference, StaffLocalEditions, controls it and is off by default. Koha compares only the records in this catalog. It does not call an external service. It first looks for the same title and the same author. The subtitle counts as part of the title: a record that kept the subtitle in the title can match a record that entered it separately. The author compared is the one in the author field (UNIMARC 700, or 701 when 700 is empty; MARC21 100). When there is no author at all, the title is enough. If that search finds nothing, Koha makes one further search, using the other forms of the title (UNIMARC 500 and 517; MARC21 240 and 246). The author can then also be recognized in the statement of responsibility, in the text before the first semicolon. The record already open is the only one left out automatically. A different item type, or a different part number, does not remove a record. Two records that share an ISBN stay in the list, but lower down. The section title stays visible and shows the count. The list opens on click. Each other record is shown like a brief bibliographic entry, with its items and their status. Cover images reuse the cover sources Koha already has, and only when those preferences are already on. FRBRizeEditions is left unchanged. See bug 38691, which also looks for local editions, but still searches by ISBN. Test plan: 1. Apply the patch and run the database update. StaffLocalEditions exists and is off. 2. Open any staff bibliographic detail page. There is no "Other editions in this catalog" section. 3. Turn StaffLocalEditions on. 4. Create two records with the same title and the same author (MARC21 245$a and 100$a), a different edition (250$a), a different ISBN (020$a), and a different year. Add one item to each. 5. Open the first record. The section title shows "Other editions in this catalog (1)" and the list is closed. Click the title: the second record appears, with its item and status. The Holdings table below still lists only the open record. 6. Create a third record with the same title and author, but the same ISBN, edition, year, and publisher as the first. It does not appear. 7. Create a fourth record with the same title and a different author. It does not appear. 8. Turn StaffLocalEditions off. The section disappears. This is my first feature proposal. The code was drafted with Grok 4.7 (SpaceXAI). -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.