[Bug 36166] New: Disable select to add to list if opacuserlogin is disabled
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Bug ID: 36166 Summary: Disable select to add to list if opacuserlogin is disabled Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org It seems adding to list is disabled pretty much everywhere in the OPAC when opacuserlogin is disabled. However, there is still the [New list] option in the drop-down in the search results. To recreate: 1. Disable opacuserlogin 1.1. Go to Administration > System preferences 1.2. Search for opacuserlogin 1.3. Switch to Don't allow 1.4. Click on Save all OPAC preferences 2. Do a search in the OPAC and try to add to a list 2.1. Go to the OPAC 2.2. Enter a search term and press enter (or click the magnifying glass) --> Notice that in the search results, there is an option to Select titles to: [New list] 2.3. Select a title by checking the box 2.4. Choose With selected titles: [New list] --> Message saying you need to be logged in (but you can't) I think it would be less confusing for patrons if the option wasn't there at all. I just tried with an "open" list (public; changes from anyone seeing the list) and you still need to log in to add a title to the list. So adding to lists from the dropdown menu should be disabled completely when opacuserlogin is disabled. To recreate: 1. Create a public list that anyone can change 1.1. Go to Lists 1.2. Click on New list 1.3. Fill out the form: - Name: enter a name for the list - Public: Public - Allow changes to contents from: Anyone seeing this list 1.4. Click Save 2. Do a search in the OPAC and try to add to the public list 2.1. Go to the OPAC 2.2. Enter a search term and press enter (or click the magnifying glass) 2.3. Select a title by checking the box 2.4. Choose With selected titles: Name of list --> Pop up window saying logging on to the catalog has not been enabled by the library. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 --- Comment #1 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- I'll need to check once this is corrected if the "Select titles to" disappears completely if opacbookbag is also disabled. The option is not currently in the dropdown, but the dropdown becomes useless if both lists and carts are disabled. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Version|unspecified |master Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |36207 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36207 [Bug 36207] Convert browser alerts to modals: OPAC tags -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |philippe.blouin@inlibro.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Matthias Le Gac <matthias.le-gac@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|oleonard@myacpl.org |matthias.le-gac@inlibro.com CC| |matthias.le-gac@inlibro.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Matthias Le Gac <matthias.le-gac@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 --- Comment #2 from Matthias Le Gac <matthias.le-gac@inlibro.com> --- Created attachment 162789 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162789&action=edit Bug 36166: Disable select to add to list if opacuserlogin is disabled Test Plan : For the [new list] option : To recreate: 1. Disable opacuserlogin 1.1. Go to Administration > System preferences 1.2. Search for opacuserlogin 1.3. Switch to Don't allow 1.4. Click on Save all OPAC preferences 2. Do a search in the OPAC and try to add to a list 2.1. Go to the OPAC 2.2. Enter a search term and press enter (or click the magnifying glass) --> Notice that in the search results, there is an option to Select titles to: [New list] 2.3. Select a title by checking the box 2.4. Choose With selected titles: [New list] --> Message saying you need to be logged in (but you can't) To add in a list : To recreate: 1. Create a public list that anyone can change 1.1. Go to Lists 1.2. Click on New list 1.3. Fill out the form: - Name: enter a name for the list - Public: Public - Allow changes to contents from: Anyone seeing this list 1.4. Click Save 2. Do a search in the OPAC and try to add to the public list 2.1. Go to the OPAC 2.2. Enter a search term and press enter (or click the magnifying glass) 2.3. Select a title by checking the box 2.4. Choose With selected titles: Name of list --> Pop up window saying logging on to the catalog has not been enabled by the library. 1. Apply the patch 1.1. Go to the OPAC 1.2. Enter a search term and press enter (or click the magnifying glass) 1.3. now you don't see the lists option and [New list] option For information : - if the virtualshelves option is deactivated, this will also remove the display of the above options - if opacbookbag and opacuserlogin are not allow this hide the selector, button and label. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Lucas Gass <lucas@bywatersolutions.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=36166 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162789|0 |1 is obsolete| | --- Comment #3 from Lucas Gass <lucas@bywatersolutions.com> --- Created attachment 162794 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162794&action=edit Bug 36166: Disable select to add to list if opacuserlogin is disabled Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |36557 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36557 [Bug 36557] Improve logic and display of OPAC cart, tag, and lists controls -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |BLOCKED --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Depends on a patch in PDA - moving to BLOCKED. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|BLOCKED |Signed Off CC| |david@davidnind.com --- Comment #5 from David Nind <david@davidnind.com> --- No longer blocked (as far as I can tell). Patch applies on main. Changed status back to Signed Off. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162794|0 |1 is obsolete| | --- Comment #6 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 167395 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167395&action=edit Bug 36166: Disable select to add to list if opacuserlogin is disabled Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com Status|Signed Off |Passed QA QA Contact|testopia@bugs.koha-communit |martin.renvoize@ptfs-europe |y.org |.com --- Comment #7 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Sensible improvement.. Passing QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |24.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 --- Comment #8 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Thanks for all the hard work! Pushed to main for the next 24.11.00 release as RM Assistant -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Pushed to stable Version(s)|24.11.00 |24.11.00,24.05.02 released in| | CC| |lucas@bywatersolutions.com --- Comment #9 from Lucas Gass <lucas@bywatersolutions.com> --- Backported to 24.05.x for upcoming 24.05.02 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This fixes the OPAC search release notes| |results header to remove | |the "Add to list" option | |when system preference | |opacuserlogin is set to | |"Don't allow". Previously, | |if you clicked on Add to | |list > New list, you would | |get a message saying you | |needed to be logged in - | |but you can't. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 --- Comment #10 from David Nind <david@davidnind.com> --- Created attachment 168772 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=168772&action=edit Screenshot - Showing empty line with a border for the lists dropdown in the OPAC I think this may need a follow-up bug. If there are no lists and opacuserlogin is set to "Don't allow": - in the OPAC there is a Lists menu item in the header (this OK, as you may have public lists) - when you click on the Lists dropdown, it shows an empty line with a border I've added a screenshot. I'm not sure if this is because of this bug, or bug 36557. Testing ~~~~~~~ If there are no lists and opacuserlogin is set to "Allow": - In the OPAC there is a Lists menu item in the header, clicking the dropdown shows 'Your lists' and 'Login to create your own lists' - For search results, there is an 'Add to list' option in the search box, with 'New list' in the dropdown. If there are no lists and opacuserlogin is set to "Don't allow": - In the OPAC there is a Lists menu item in the header, clicking the dropdown shows an empty line with a border (not expected). - For search results, there is no "Add to list" option (as expected). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 --- Comment #11 from Owen Leonard <oleonard@myacpl.org> --- (In reply to David Nind from comment #10)
If there are no lists and opacuserlogin is set to "Don't allow":
- In the OPAC there is a Lists menu item in the header, clicking the dropdown shows an empty line with a border (not expected).
I have submitted a patch on Bug 37362 (I think this issue existed before Bug 36166 and Bug 36557) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 --- Comment #12 from David Nind <david@davidnind.com> --- (In reply to Owen Leonard from comment #11)
(In reply to David Nind from comment #10)
If there are no lists and opacuserlogin is set to "Don't allow":
- In the OPAC there is a Lists menu item in the header, clicking the dropdown shows an empty line with a border (not expected).
I have submitted a patch on Bug 37362 (I think this issue existed before Bug 36166 and Bug 36557)
Thanks Owen! That does fix things. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m Status|Pushed to stable |Needs documenting --- Comment #13 from Fridolin Somers <fridolin.somers@biblibre.com> --- Depends on Bug 36207 not in 23.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|martin.renvoize@ptfs-europe | |.com | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED --- Comment #14 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Bug fix-ish, nothing to add/edit in the manual. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org