[Koha-bugs] [Bug 36166] Disable select to add to list if opacuserlogin is disabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 5 21:56:08 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36166

--- Comment #2 from Matthias Le Gac <matthias.le-gac at 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.


More information about the Koha-bugs mailing list