Bugzilla – Attachment 54356 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]
Bug 10848 - [QA Followup] Add missing branch option and fix pattern for copyrightdate
Bug-10848---QA-Followup-Add-missing-branch-option-.patch (text/plain), 3.34 KB, created by
Jacek Ablewicz
on 2016-08-12 10:25:31 UTC
(
hide
)
Description:
Bug 10848 - [QA Followup] Add missing branch option and fix pattern for copyrightdate
Filename:
MIME Type:
Creator:
Jacek Ablewicz
Created:
2016-08-12 10:25:31 UTC
Size:
3.34 KB
patch
obsolete
>From 116f20b7d744a0c195f05608e56633143b68426b Mon Sep 17 00:00:00 2001 >From: Jacek Ablewicz <abl@biblos.pk.edu.pl> >Date: Fri, 12 Aug 2016 11:42:48 +0200 >Subject: [PATCH] Bug 10848 - [QA Followup] Add missing branch option and fix > pattern for copyrightdate > >- HTML5 input pattern for copyrightdate was not taking into an account >the database field type, which is smallint(5) >- added title="..." for the year field so the acceptable date format >should be displayed as a hint/tooltip in the browser >- added an missing option for configuring branch/library as mandatory >--- > .../intranet-tmpl/prog/en/modules/admin/preferences/opac.pref | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 6 +++++- > 2 files changed, 6 insertions(+), 1 deletion(-) > >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 b7ae8b7..206c56f 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 >@@ -558,6 +558,7 @@ OPAC: > collectiontitle: Collection title > place: Publication place > itemtype: Item type >+ branch: Library or branch > patronreason: Patron reason > note: Note > - "<br />Note: if none of the above options are selected, 'Title' field would be mandatory anyway, by default." >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >index cf4dec2..3f4234f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >@@ -42,7 +42,11 @@ > <ol> > <li><label for="title">Title:</label><input type="text" id="title" name="title" class="span6" maxlength="255" /></li> > <li><label for="author">Author:</label><input type="text" id="author" name="author" class="span6" maxlength="80" /></li> >- <li><label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" pattern="[12][0-9\-\?]{3}" size="4" maxlength="4" /></li> >+ <li> >+ <div title="Copyright or publication year, for example: 2016"> >+ <label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" /> >+ </div> >+ </li> > <li><label for="isbn">Standard number (ISBN, ISSN or other):</label><input type="text" id="isbn" name="isbn" maxlength="80" /></li> > <li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" /></li> > <li><label for="collectiontitle">Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" /></li> >-- >1.7.10.4
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