Bugzilla – Attachment 54431 Details for
Bug 10848
Allow configuration of mandatory/required fields on the suggestion form in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 10848 - Allow configuration of mandatory/required fields on the suggestion form in OPAC - part 2
PASSED-QA-Bug-10848---Allow-configuration-of-manda.patch (text/plain), 2.64 KB, created by
Katrin Fischer
on 2016-08-14 12:59:46 UTC
(
hide
)
Description:
[PASSED QA] Bug 10848 - Allow configuration of mandatory/required fields on the suggestion form in OPAC - part 2
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-08-14 12:59:46 UTC
Size:
2.64 KB
patch
obsolete
>From 04d2ed6e66ba6fffb736ecf0a3a882d9dee80506 Mon Sep 17 00:00:00 2001 >From: Jacek Ablewicz <abl@biblos.pk.edu.pl> >Date: Fri, 5 Aug 2016 11:01:25 +0200 >Subject: [PATCH] [PASSED QA] Bug 10848 - Allow configuration of > mandatory/required fields on the suggestion form in OPAC - part 2 > >Add 'OPACSuggestionMandatoryFields' syspref definition plus >an atomic DB update for the new preference. > >Signed-off-by: barbara johnson <barbara.johnson@bedfordtx.gov> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > ...ug_10848-add_OPACSuggestionMandatoryFields_syspref.sql | 1 + > .../prog/en/modules/admin/preferences/opac.pref | 15 +++++++++++++++ > 2 files changed, 16 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_10848-add_OPACSuggestionMandatoryFields_syspref.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_10848-add_OPACSuggestionMandatoryFields_syspref.sql b/installer/data/mysql/atomicupdate/bug_10848-add_OPACSuggestionMandatoryFields_syspref.sql >new file mode 100644 >index 0000000..eb0211a >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_10848-add_OPACSuggestionMandatoryFields_syspref.sql >@@ -0,0 +1 @@ >+INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES ('OPACSuggestionMandatoryFields','title','','Define the mandatory fields for a patron purchase suggestions made via OPAC.','multiple'); >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 1ca43db..a328bd7 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 >@@ -554,6 +554,21 @@ OPAC: > yes: Allow > - patrons to select library when making a purchase suggestion > - >+ - "Fields that should be mandatory for patron purchase suggestions:" >+ - pref: OPACSuggestionMandatoryFields >+ multiple: >+ title: Title >+ author: Author >+ copyrightdate: Copyright or publication date >+ isbn: ISBN, ISSN or other standard number >+ publishercode: Publisher name >+ collectiontitle: Collection title >+ place: Publication place >+ itemtype: Item type >+ patronreason: Patron reason >+ note: Note >+ - "<br />Note: if none of the above options are selected, 'Title' field would be mandatory anyway, by default." >+ - > - pref: OpacHiddenItems > type: textarea > class: code >-- >1.9.1
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 10848
:
28721
|
28722
|
28792
|
29091
|
29092
|
34317
|
34318
|
34319
|
34324
|
34325
|
34326
|
34544
|
34545
|
34546
|
34547
|
35830
|
54016
|
54017
|
54018
|
54019
|
54020
|
54021
|
54083
|
54084
|
54356
|
54430
| 54431 |
54432