Bug 9261: (follow-up) make title required when adding a new suggestion
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 13 Nov 2013 11:06:54 +0000 (12:06 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 15 Nov 2013 00:24:58 +0000 (00:24 +0000)
I don't know if it was a bug but at the OPAC, title is a required field
and not on the staff interface.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt

index 4a64f41..e590142 100644 (file)
@@ -305,7 +305,7 @@ h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
         <h1>Enter a new purchase suggestion</h1>
     [% END %]
     <fieldset class="rows"> <legend>Bibliographic information</legend><ol>
-        <li><label for="title">Title:</label><input type="text" id="title" name="title" size="80" maxlength="255" value="[% title |html %]"/></li>
+        <li><label for="title" class="required">Title:</label><input type="text" id="title" name="title" size="80" maxlength="255" value="[% title |html %]" required="required" /></li>
         <li><label for="author">Author:</label><input type="text" id="author" name="author" size="50" maxlength="80" value="[% author %]"/></li>
         <li><label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" value="[% copyrightdate %]" /></li>
         <li><label for="isbn">ISBN or ISSN or other standard number:</label><input type="text" id="isbn" name="isbn" size="50" maxlength="80" value="[% isbn %]"/></li>