Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Alex Buckley 146a897731 Bug 31333: Add ability to make purchase suggestions by borrower type
Introduce a suggestionPatronCategoryExceptions system preference.

If the suggestion syspref is enabled then libraries can stop specific
borrower types from making suggestions by ticking the type in the
suggestionPatronCategoryExceptions syspref.

Test plan:
1. Apply patches, update database, re-start services

2. Set 'suggestion' syspref = 'Allow'

3. Confirm you can view the purchase suggestion links on OPAC biblio detail
page & 'your summary' page. As well as successfully submit a suggestion.

4. Select the patron category you're logged in as in
suggestionPatronCategoryExceptions syspref

5. Confirm the purchase suggestion links are hidden in the OPAC biblio
detail page & 'your summary' page

6. In your browser enter the link: <OPAC base URL>/cgi-bin/koha/opac-suggestions.pl
e.g. http://localhost:8080/cgi-bin/koha/opac-suggestions.pl

7. Confirm a 404 page loads

8. Confirm you can view/moderate suggestions in the staff
client - even though your patron is selected in the
suggestionPatronCategoryExceptions syspref

9. Untick your patron category in the suggestionPatronCategoryExceptions syspref

10. Confirm you can view the purchase suggestion links on the OPAC, as
well as successfully submit a suggestion.

11. Set 'suggestion' syspref = "Don't allow"

12. Confirm the purchase suggestion links are hidden in the OPAC

13. Select all patron categories in suggestPatronCategoryExceptions
syspref. View the OPAC without logging in and confirm you can perform
searches and view OPAC biblio detail pages.

Sponsored-by: Catalyst IT, New Zealand

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-04 08:44:16 -03:00
..
preferences Bug 31333: Add ability to make purchase suggestions by borrower type 2022-10-04 08:44:16 -03:00
searchengine/elasticsearch Bug 29632: Don't sort cn-sort numerically 2022-07-18 11:21:47 -03:00
additional-fields.tt Bug 31254: Add additional fields for accountlines 2022-09-21 18:58:28 -03:00
admin-home.tt Bug 30982: Rename 'Background Jobs' => 'Jobs' 2022-09-23 08:57:50 -03:00
adveditorshortcuts.tt
aqbudgetperiods.tt Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
aqbudgets.tt
aqcontract.tt Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
aqplan.tt
audio_alerts.tt
auth_subfields_structure.tt
auth_tag_structure.tt
authorised_values.tt Bug 31017: Add new vendor_type field to edit screen and display 2022-08-19 16:15:11 -03:00
authtypes.tt Bug 31398: Set focus on first input when adding a new authority type 2022-09-07 13:44:05 -07:00
background_jobs.tt Bug 30982: (QA follow-up) Remove redundancy from template 2022-09-23 08:57:51 -03:00
biblio_framework.tt Bug 31397: Set focus in first input when adding a new bibliographic framework 2022-09-07 13:42:47 -07:00
branch_transfer_limits.tt
branches.tt Bug 29144: Adjust libraries form 2022-09-16 09:55:20 -03:00
cash_registers.tt Bug 27802: Set cursor focus in first input when adding a cash register 2022-09-07 13:42:13 -07:00
categories.tt Bug 30484: Add ILL update notice 2022-09-23 09:18:45 -03:00
checkmarc.tt
cities.tt Bug 27195: Set focus on first input when adding a new city 2022-09-16 16:57:33 -03:00
classsources.tt Bug 31399: Set focus on first input when adding a new classification source, filing rule, or splitting rule 2022-09-07 13:43:39 -07:00
clone-rules.tt Bug 31117: New message for cloning standard rules 2022-07-08 15:25:19 -03:00
columns_settings.tt Bug 29723: (QA follow-up) Ensure ID's match Module names 2022-08-16 10:12:27 -03:00
credit_types.tt
curbside_pickup.tt Bug 31264: Curbside pickups - Take CalendarFirstDayOfWeek into account 2022-08-05 11:59:44 -03:00
currency.tt
debit_types.tt
desks.tt
didyoumean.tt
edi_accounts.tt
edi_ean_accounts.tt
item_circulation_alerts.tt
items_search_field.tt
items_search_fields.tt
itemtypes.tt
koha2marclinks.tt
library_groups.tt
localization.tt
marc-overlay-rules.tt Bug 31490: Terminology: change 'staff client' to 'staff interface' in marc-overlay-rule 2022-09-07 13:25:10 -07:00
marc_subfields_structure.tt Bug 31214: Make subfield code non-editable in MARC framework editor 2022-08-09 07:40:47 -03:00
marctagstructure.tt
matching-rules.tt Bug 31400: Set focus on first input when adding a new matching rule 2022-09-07 13:43:07 -07:00
oai_set_mappings.tt
oai_sets.tt
overdrive.tt
patron-attr-types.tt Bug 27193: Set focus on first input when adding a new patron attribute 2022-09-07 13:44:52 -07:00
preferences.tt
restrictions.tt Bug 23681: Move to ::Patron::Restriction::Type(s) 2022-08-25 08:50:35 -03:00
share_content.tt
smart-rules.tt Bug 30517: Translation breaks editing parent type circulation rule fix 2022-10-03 11:45:17 -03:00
sms_providers.tt
smtp_servers.tt Bug 31412: Add focus to 'name' on SMTP Servers 2022-10-03 08:21:48 -03:00
sru_modmapping.tt
sru_modmapping_auth.tt
systempreferences.tt
transfer_limits.tt
transport-cost-matrix.tt
usage_statistics.tt
z3950servers.tt