Bug 34235

Summary: Make virtualshelves preference more granular
Product: Koha Reporter: Mathieu Saby <mathsabypro>
Component: ListsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david, lauren_denny, m.de.rooy, michaela.sieber, rcoert
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27503
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36910
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19501
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Mathieu Saby 2023-07-08 10:02:24 UTC
Currently the "virtualsheves" preference gives this choice : 
"Allow staff and patrons to create and view saved lists of books: "
1: "Yes"
0: "No"

It should be more granular, and allow the creation of lists by 
- staff only
- patrons only
- staff and patron
- nobody

Also it should be renamed, as the feature in Koha UI is not called "virtual shelves" but "lists". And a list can contain any material, not only "books".
Comment 1 Katrin Fischer 2023-07-08 11:51:26 UTC
The renaming has been filed separately as 27503 already.
Comment 2 Mathieu Saby 2023-07-08 13:55:40 UTC
Thanks, I see that. But "OpacList" seems a strange name, as lists can also be used in staff side
Comment 3 Katrin Fischer 2023-07-08 13:58:05 UTC
(In reply to mathieu saby from comment #2)
> Thanks, I see that. But "OpacList" seems a strange name, as lists can also
> be used in staff side

When you think about the additional behaviour you mention here, yes. But at the moment it just activates/deactivates in the OPAC.
Comment 4 David Nind 2026-01-13 17:59:49 UTC
Reposting my comment from bug 36910 here:

With the discussion on other bugs, such as bug 27503 and bug 36910, I think renaming the current system preference to 'Lists' would be more appropriate.

Then it would make sense to set the options in one system preference, such as whether to enable their use on the OPAC, staff interface, both, or neither.

My proposal is to work on it in two steps:
1. Rename the system preference to 'Lists' (bug 27503) (something I think I can do)
2. Make the options more granular: OPAC, Staff interface, Both, Neither (outside my skill level)

I'll attempt to work on bug 27503 to rename the system preference.