[Bug 44154] New: Record and display where an ILL request was created (OPAC or staff interface)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44154 Bug ID: 44154 Summary: Record and display where an ILL request was created (OPAC or staff interface) Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: ILL Assignee: koha-bugs@lists.koha-community.org Reporter: pedro.amorim@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org CC: lisette@bywatersolutions.com, pedro.amorim@openfifth.co.uk, tomascohen@gmail.com Target Milestone: --- -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44154 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew.auld@openfifth.co.uk | |, | |edith.speller@ukhsa.gov.uk, | |jeremy.evans@ukhsa.gov.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44154 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- 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=44154 --- Comment #1 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Created attachment 212018 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212018&action=edit Bug 44154: Store the interface an ILL request was created from Adds illrequests.source, set from C4::Context->interface when a request is first stored, for every backend. Exposed as 'source' in the API. Test plan: 1) Apply the patch, updatedatabase, restart plack 2) prove t/db_dependent/Koha/ILL/Request.t t/db_dependent/api/v1/ill_requests.t Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44154 --- Comment #2 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Created attachment 212019 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212019&action=edit Bug 44154: Add 'Source' column and filter to the staff ILL table Test plan: 1) Apply the patches, updatedatabase, yarn api:bundle, restart plack 2) Create a 'Standard' request from the OPAC and one from the staff interface 3) Visit http://localhost:8081/cgi-bin/koha/ill/ill-requests.pl 4) Notice the 'Source' column is hidden. Show it using the 'Columns' button 5) Notice the 'Source' column shows 'OPAC' and 'Staff interface' 6) Filter by 'Source', only matching requests show. 'Clear' resets it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44154 --- Comment #3 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Created attachment 212020 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212020&action=edit Bug 44154: [DO NOT PUSH] DBIC schema changes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44154 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |pedro.amorim@openfifth.co.u |ity.org |k Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44154 Jeremy Evans <jeremy.evans@ukhsa.gov.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #4 from Jeremy Evans <jeremy.evans@ukhsa.gov.uk> --- I tested this patch on our test server. The new source column is showing as expected indicating if the request was submitted via the OPAC or Staff client. The new filter option on the request Source is also working. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44154 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #212018|0 |1 is obsolete| | Attachment #212019|0 |1 is obsolete| | Attachment #212020|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=44154 --- Comment #5 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Created attachment 212264 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212264&action=edit Bug 44154: Store the interface an ILL request was created from Adds illrequests.source, set from C4::Context->interface when a request is first stored, for every backend. Exposed as 'source' in the API. Test plan: 1) Apply the patch, updatedatabase, restart plack 2) prove t/db_dependent/Koha/ILL/Request.t t/db_dependent/api/v1/ill_requests.t Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jeremy Evans <Jeremy.Evans@ukhsa.gov.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44154 --- Comment #6 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Created attachment 212265 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212265&action=edit Bug 44154: Add 'Source' column and filter to the staff ILL table Test plan: 1) Apply the patches, updatedatabase, yarn api:bundle, restart plack 2) Create a 'Standard' request from the OPAC and one from the staff interface 3) Visit http://localhost:8081/cgi-bin/koha/ill/ill-requests.pl 4) Notice the 'Source' column is hidden. Show it using the 'Columns' button 5) Notice the 'Source' column shows 'OPAC' and 'Staff interface' 6) Filter by 'Source', only matching requests show. 'Clear' resets it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jeremy Evans <Jeremy.Evans@ukhsa.gov.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44154 --- Comment #7 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Created attachment 212266 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212266&action=edit Bug 44154: [DO NOT PUSH] DBIC schema changes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jeremy Evans <Jeremy.Evans@ukhsa.gov.uk> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org