[Bug 19490] New: Add a 'holds' column to the Batch Item Modification Tool
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Bug ID: 19490 Summary: Add a 'holds' column to the Batch Item Modification Tool Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: jesse@bywatersolutions.com Reporter: kyle@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Some librarians would like to know the holds activity for items when using the batch modification tool. We should display a holds count column to the batch item modification tool that will show the number of holds on an item / holds for entire record -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Lisette <lisetteslatah@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lisetteslatah@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 --- Comment #1 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 75321 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75321&action=edit Bug 19490: Add a 'Holds' column to the items batchmodification tool To test: 1 - Add some items to bathc modification 2 - Note there is no indication fo holds 3 - Apply patch 4 - Reload and note you can see how many holds (or none) 5 - Note you can hide this column with css: #batchMod-edit .holds_count { display: none; } 6 - Note the column has a tooltip to indicate item vs. record holds -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com Assignee|jesse@bywatersolutions.com |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 --- Comment #2 from Owen Leonard <oleonard@myacpl.org> ---
6 - Note the column has a tooltip to indicate item vs. record holds
I think it would be very helpful if we could have a tooltip on the table cells too: "0 item holds / 3 total holds" -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Séverine Queune <severine.queune@bulac.fr> 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=19490 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #75321|0 |1 is obsolete| | --- Comment #3 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 75489 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75489&action=edit Bug 19490: Add a 'Holds' column to the items batchmodification tool To test: 1 - Add some items to bathc modification 2 - Note there is no indication fo holds 3 - Apply patch 4 - Reload and note you can see how many holds (or none) 5 - Note you can hide this column with css: #batchMod-edit .holds_count { display: none; } 6 - Note the column has a tooltip to indicate item vs. record holds Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |severine.queune@bulac.fr --- Comment #4 from Séverine Queune <severine.queune@bulac.fr> --- That's interesting ! Works fine for me. A detail about css hiding : I had to use #tools_batchMod-edit .holds_count { display: none; } -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 --- Comment #5 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 75516 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75516&action=edit Bug 19490: (follow-up) Add tooltip to each row To test: 1 - Run batch modification on some items 2 - Hover over the holds column 3 - Note the tool tip 4 - PLace some holds to verify combinations of item/record level holds show appropriately -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #75489|0 |1 is obsolete| | --- Comment #6 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 75533 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75533&action=edit Bug 19490: Add a 'Holds' column to the items batchmodification tool To test: 1 - Add some items to bathc modification 2 - Note there is no indication fo holds 3 - Apply patch 4 - Reload and note you can see how many holds (or none) 5 - Note you can hide this column with css: #batchMod-edit .holds_count { display: none; } 6 - Note the column has a tooltip to indicate item vs. record holds Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #75516|0 |1 is obsolete| | --- Comment #7 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 75534 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75534&action=edit Bug 19490: (follow-up) Add tooltip to each row To test: 1 - Run batch modification on some items 2 - Hover over the holds column 3 - Note the tool tip 4 - PLace some holds to verify combinations of item/record level holds show appropriately Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 --- Comment #8 from Séverine Queune <severine.queune@bulac.fr> --- Just tested once more with follow-up, tooltip on each row is clear for me. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #9 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- 1. There are "Show/hide columns" links on top of the page, the new column is not taken into account. 2. Maybe we could improve the tooltip "Holds on this record: 0" => "No hold on this record"? Failing QA for 1. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #75533|0 |1 is obsolete| | --- Comment #10 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 79429 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79429&action=edit Bug 19490: Add a 'Holds' column to the items batchmodification tool To test: 1 - Add some items to bathc modification 2 - Note there is no indication fo holds 3 - Apply patch 4 - Reload and note you can see how many holds (or none) 5 - Note you can hide this column with css: #batchMod-edit .holds_count { display: none; } 6 - Note the column has a tooltip to indicate item vs. record holds Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #75534|0 |1 is obsolete| | --- Comment #11 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 79430 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79430&action=edit Bug 19490: (follow-up) Add tooltip to each row To test: 1 - Run batch modification on some items 2 - Hover over the holds column 3 - Note the tool tip 4 - PLace some holds to verify combinations of item/record level holds show appropriately Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 --- Comment #12 from Nick Clemens <nick@bywatersolutions.com> --- Rebasing (In reply to Jonathan Druart from comment #9)
1. There are "Show/hide columns" links on top of the page, the new column is not taken into account.
This was intentional, there are two other columns at the start that cannot be hidden, this seemed appropriate for the holds info. I will attempt a followup
2. Maybe we could improve the tooltip "Holds on this record: 0" => "No hold on this record"?
Will offer a followup shortly.
Failing QA for 1.
-- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|Trivial patch |Small patch Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #79429|0 |1 is obsolete| | --- Comment #13 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 80170 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80170&action=edit Bug 19490: Add a 'Holds' column to the items batchmodification tool To test: 1 - Add some items to bathc modification 2 - Note there is no indication fo holds 3 - Apply patch 4 - Reload and note you can see how many holds (or none) 5 - Note you can hide this column with css: #batchMod-edit .holds_count { display: none; } 6 - Note the column has a tooltip to indicate item vs. record holds Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #79430|0 |1 is obsolete| | --- Comment #14 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 80171 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80171&action=edit Bug 19490: (follow-up) Add tooltip to each row To test: 1 - Run batch modification on some items 2 - Hover over the holds column 3 - Note the tool tip 4 - PLace some holds to verify combinations of item/record level holds show appropriately Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 --- Comment #15 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 80705 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80705&action=edit Bug 19490: (follow-up) Improve tooltip message and some tidying -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #80705|0 |1 is obsolete| | --- Comment #16 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 80708 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80708&action=edit Bug 19490: (follow-up) Improve tooltip message and some tidying -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #17 from Nick Clemens <nick@bywatersolutions.com> --- Awesome work all! Pushed to master for 18.11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |martin.renvoize@ptfs-europe | |.com Status|Pushed to Master |RESOLVED --- Comment #18 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Enhancement, will not be backported to 18.05.x series. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 --- Comment #19 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- From commit e427cf5b3f3ded54dbc6899c149a2de3e8ab13ea Bug 19490: Add a 'Holds' column to the items batchmodification tool This following line: + $this_row{item_holds} = Koha::Holds->search( itemnumber => $itemnumber )->count; displays a DBIC warning: [Mon Apr 29 01:49:32.831375 2019] [cgi:error] [pid 17243] [client 192.168.50.1:42814] AH01215: [Mon Apr 29 01:49:32 2019] batchMod.pl: DBIx::Class::ResultSet::search_rs(): search( %condition ) is deprecated, use search( \\%condition ) instead at /home/vagrant/kohaclone/Koha/Objects.pm line 136: /home/vagrant/kohaclone/tools/batchMod.pl, referer: http://pro.kohadev.org/cgi-bin/koha/tools/batchMod.pl Must be ->search({ itemnumber => $itemnumber })->count -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |22914 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22914 [Bug 22914] Batch Item Delete column misconfigured when using show/hide tool -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19490 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |24051 --- Comment #20 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Jonathan Druart from comment #19)
From commit e427cf5b3f3ded54dbc6899c149a2de3e8ab13ea Bug 19490: Add a 'Holds' column to the items batchmodification tool
This following line: + $this_row{item_holds} = Koha::Holds->search( itemnumber => $itemnumber )->count;
displays a DBIC warning: [Mon Apr 29 01:49:32.831375 2019] [cgi:error] [pid 17243] [client 192.168.50.1:42814] AH01215: [Mon Apr 29 01:49:32 2019] batchMod.pl: DBIx::Class::ResultSet::search_rs(): search( %condition ) is deprecated, use search( \\%condition ) instead at /home/vagrant/kohaclone/Koha/Objects.pm line 136: /home/vagrant/kohaclone/tools/batchMod.pl, referer: http://pro.kohadev.org/cgi-bin/koha/tools/batchMod.pl
Must be ->search({ itemnumber => $itemnumber })->count
See bug 24051. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24051 [Bug 24051] batchMod.pl: DBIx::Class::ResultSet::search_rs(): search( %condition ) is deprecated -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org