[Bug 44264] New: Log viewer loses item-level results for a record when the search form is resubmitted
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44264 Bug ID: 44264 Summary: Log viewer loses item-level results for a record when the search form is resubmitted Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: blawlor@clamsnet.org QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Target Milestone: --- On a bib record if you click the Modification log link it includes the parameter &object_type=biblio and checks the actions Modify and Restore. If you wanted to see items added to that biblio you would expect that you could check the box for action Add and resubmit the form, but if you do you lose the parameter &object_type=biblio and can't see any items that were added to the bib. No item level actions will be returned Test plan 1. Find a record with multiple items. Edit an item and add a new item to the record. 2. On the record's detail page, click "Modification log". The item modification is listed. 3. Check the "Add" action checkbox and click Submit. 4. Item modifications and additions are not shown. Only biblio-level entries appear. 5. Apply the patch. 6. Repeat steps 2–3. Item modifications and additions are both listed. 7. Confirm the URL after submitting contains object_type=biblio. Proposed fix: In tools/viewlog.tt, add a hidden object_type input to the search form when object_type is set. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44264 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |blawlor@clamsnet.org |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44264 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44264 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Comma delimited| |CLAMS list of Sponsors| | Sponsorship status|--- |Sponsored Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44264 --- Comment #1 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 212565 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212565&action=edit Bug 44264: Keep object_type when resubmitting the log viewer search form The 'Modification log' link on a bib record includes object_type=biblio. This makes the log viewer include item-level CATALOGUING action logs as well as logs on the biblionumber itself. If a users changes the selected actions and resubmits the form it does not include object_type and item level action logs are not returned. This patch adds object_type as a hidden input to the search form so that resubmitting the form will still include item level logs. Test plan: 1. Find a record and edit one of its items 2. On the record's detail page, click 'Modification log' 3. Note the item modification is listed 4. Uncheck one of the actions (e.g. Restore) and click Submit 5. Note the item modification is no longer listed 6. Apply patch 7. Repeat steps 2-4 8. Note the item modification is still listed after resubmitting 9. Note the URL after submitting contains object_type=biblio Sponsored-by: CLAMS Assisted-by: Claude Opus 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44264 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |44268 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44268 [Bug 44268] Cataloging modification log for a record does not show logs for deleted items -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44264 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44264 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #212565|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44264 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 212591 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212591&action=edit Bug 44264: Keep object_type when resubmitting the log viewer search form The 'Modification log' link on a bib record includes object_type=biblio. This makes the log viewer include item-level CATALOGUING action logs as well as logs on the biblionumber itself. If a users changes the selected actions and resubmits the form it does not include object_type and item level action logs are not returned. This patch adds object_type as a hidden input to the search form so that resubmitting the form will still include item level logs. Test plan: 1. Find a record and edit one of its items 2. On the record's detail page, click 'Modification log' 3. Note the item modification is listed 4. Uncheck one of the actions (e.g. Restore) and click Submit 5. Note the item modification is no longer listed 6. Apply patch 7. Repeat steps 2-4 8. Note the item modification is still listed after resubmitting 9. Note the URL after submitting contains object_type=biblio Sponsored-by: CLAMS Assisted-by: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org