[Koha-bugs] [Bug 35547] When using "Add to a list" dialog ( addbybiblionumber.pl ) list that are "staff only" do not show up

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 15 13:06:47 CET 2023


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

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #159836|0                           |1
        is obsolete|                            |

--- Comment #4 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 159885
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159885&action=edit
Bug 35547: When using "Add to a list" dialog ( addbybiblionumber.pl ) list that
are "staff only" do not show up

When adding an item to a list from catalogue/detail.pl, we can see the latest
10  public lists. If all those lists are set as "staff only" for "Allow changes
to contents from" they will not show up in the addbybiblionumber.pl popup. This
is because the query in the popup does not look for "staff only" lists while
the "Add to list" button does.

Test plan:
1) Create 11 "staff only" lists as staff member A
2) Log in as staff member B
3) Find a record, click the "Add to list" button, note you can see lists 2
through 11 here
4) In the pulldown, choose the "More lists" option
5) Note those lists are not visible in the "Choose list" pulldown under "Select
an existing list"
6) Apply this patch
7) Restart all the things!
8) Click the "More lists" option again
9) Those lists should now be in the pulldown!

Signed-off-by: sabrina <kiehl at mpis.mpg.de>
Signed-off-by: Mikko Liimatainen <mikko.liimatainen at turku.fi>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list