Bugzilla – Attachment 140483 Details for
Bug 31475
Group system preferences for suggestions on OPAC tab under new heading
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31475: Added 'Suggestions' section to preferences
Bug-31475-Added-Suggestions-section-to-preferences.patch (text/plain), 7.54 KB, created by
Isobel Graham
on 2022-09-12 16:54:09 UTC
(
hide
)
Description:
Bug 31475: Added 'Suggestions' section to preferences
Filename:
MIME Type:
Creator:
Isobel Graham
Created:
2022-09-12 16:54:09 UTC
Size:
7.54 KB
patch
obsolete
>From 7658329a60c0395b51dd9e270a4ecd8721d833dc Mon Sep 17 00:00:00 2001 >From: Isobel Graham <isobel.graham09@gmail.com> >Date: Mon, 12 Sep 2022 17:50:08 +0100 >Subject: [PATCH] Bug 31475: Added 'Suggestions' section to preferences > >Confrim all suggestion preferences are now grouped. >--- > .../en/modules/admin/preferences/opac.pref | 121 +++++++++--------- > 1 file changed, 64 insertions(+), 57 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >index c74d5c9d49..670041c5ee 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >@@ -298,12 +298,7 @@ OPAC: > homebranch: Home library > holdingbranch: Holding library > - "is the default sort field for the holdings table." >- - >- - pref: OpacSuggestionManagedBy >- choices: >- 1: Show >- 0: Don't show >- - "the name of the staff member who managed a suggestion in OPAC." >+ > - > - Display up to > - pref: OpacMaxItemsToDisplay >@@ -422,12 +417,7 @@ OPAC: > 1: Allow > 0: "Don't allow" > - patrons to access a list of the most checked out items on the OPAC. Note that this is somewhat experimental, and should be avoided if your collection has a large number of items. >- - >- - pref: suggestion >- choices: >- 1: Allow >- 0: "Don't allow" >- - patrons to make purchase suggestions on the OPAC. >+ > - > - pref: OPACComments > choices: >@@ -514,13 +504,7 @@ OPAC: > 1: Show > 0: Don't show > - a library selection list for news items in the OPAC. >- - >- - pref: OPACSuggestionAutoFill >- default: 0 >- choices: >- 1: Enable >- 0: Disable >- - OPAC suggestions form automatically filling with data from Google Books API. >+ > - > - "Use the following as the OPAC ISBD template:" > - pref: OPACISBD >@@ -605,25 +589,7 @@ OPAC: > 0: "Don't include" > - outstanding/unapplied credits when applying the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACFineNoRenewals">OPACFineNoRenewals</a> rule to patrons. > - >- - pref: OPACViewOthersSuggestions >- choices: >- 1: Show >- 0: "Don't show" >- - purchase suggestions from other patrons on the OPAC. >- - >- - "Fields that should be mandatory for patron purchase suggestions:" >- - pref: OPACSuggestionMandatoryFields >- type: modalselect >- source: suggestions >- required: title >- - "<br />Note: if none of the above options are selected, 'Title' field would be mandatory anyway, by default." >- - >- - "Fields that should be hidden for patron purchase suggestions:" >- - pref: OPACSuggestionUnwantedFields >- type: modalselect >- source: suggestions >- exclusions: title >- - '<br />Note: Do not make <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACSuggestionMandatoryFields">OPACSuggestionMandatoryFields</a> unwanted fields ' >+ > - > - pref: OpacHiddenItems > type: textarea >@@ -660,26 +626,10 @@ OPAC: > 1: "Block" > 0: "Don't block" > - expired patrons from OPAC actions such as placing a hold or renewing. Note that the setting for a patron category takes priority over this system preference. >- - >- - Limit patrons to >- - pref: MaxOpenSuggestions >- class: integer >- - "open suggestions. Leave empty for no limit. **Note: this setting does not affect anonymous suggestions." >- - >- - Number of total suggestions allowed >- - pref: MaxTotalSuggestions >- class: integer >- - "in" >- - pref: NumberOfSuggestionDays >- class: integer >- - "days." >+ > Privacy: > - >- - pref: AnonSuggestions >- choices: >- 1: Allow >- 0: "Don't allow" >- - 'patrons that aren''t logged in to make purchase suggestions. Suggestions are connected to the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AnonymousPatron">AnonymousPatron</a> system preference.' >+ > - > - pref: opacreadinghistory > choices: >@@ -865,7 +815,64 @@ OPAC: > 1: Allow > 0: "Don't allow" > - patrons to notify the library of changes to their contact information from the OPAC. >- >+ Suggestions: >+ - >+ - pref: OpacSuggestionManagedBy >+ choices: >+ 1: Show >+ 0: Don't show >+ - "the name of the staff member who managed a suggestion in OPAC." >+ - >+ - pref: AnonSuggestions >+ choices: >+ 1: Allow >+ 0: "Don't allow" >+ - 'patrons that aren''t logged in to make purchase suggestions. Suggestions are connected to the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AnonymousPatron">AnonymousPatron</a> system preference.' >+ - >+ - Limit patrons to >+ - pref: MaxOpenSuggestions >+ class: integer >+ - "open suggestions. Leave empty for no limit. **Note: this setting does not affect anonymous suggestions." >+ - >+ - Number of total suggestions allowed >+ - pref: MaxTotalSuggestions >+ class: integer >+ - "in" >+ - pref: NumberOfSuggestionDays >+ class: integer >+ - "days." >+ - pref: OPACViewOthersSuggestions >+ choices: >+ 1: Show >+ 0: "Don't show" >+ - purchase suggestions from other patrons on the OPAC. >+ - >+ - "Fields that should be mandatory for patron purchase suggestions:" >+ - pref: OPACSuggestionMandatoryFields >+ type: modalselect >+ source: suggestions >+ required: title >+ - "<br />Note: if none of the above options are selected, 'Title' field would be mandatory anyway, by default." >+ - >+ - "Fields that should be hidden for patron purchase suggestions:" >+ - pref: OPACSuggestionUnwantedFields >+ type: modalselect >+ source: suggestions >+ exclusions: title >+ - '<br />Note: Do not make <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACSuggestionMandatoryFields">OPACSuggestionMandatoryFields</a> unwanted fields ' >+ - >+ - pref: suggestion >+ choices: >+ 1: Allow >+ 0: "Don't allow" >+ - patrons to make purchase suggestions on the OPAC. >+ - >+ - pref: OPACSuggestionAutoFill >+ default: 0 >+ choices: >+ 1: Enable >+ 0: Disable >+ - OPAC suggestions form automatically filling with data from Google Books API. > Advanced search options: > - > - "Show search options:" >-- >2.37.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31475
:
140483
|
140499
|
140587
|
141000
|
141012
|
141013