[open-ils-commits] [GIT] Evergreen ILS branch master updated. 3e96e0536624e2ba2fb6515450692fae862c1d7d

Evergreen Git git at git.evergreen-ils.org
Thu Sep 18 17:06:04 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  3e96e0536624e2ba2fb6515450692fae862c1d7d (commit)
      from  62b7ae23be384371412dbe9d9b6d77721ff34ecf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3e96e0536624e2ba2fb6515450692fae862c1d7d
Author: Remington Steed <rjs7 at calvin.edu>
Date:   Fri Aug 29 14:45:50 2014 -0400

    LP#1361801: Add required fields to serial issuance form
    
    This commit prevents issuances from being created without a date_published
    or holding_code. This has two benefits:
    
      1. Prevents uncaught exceptions related to submitting null values for
         either of those fields.
      2. Requiring date_published prevents an ugly error when trying to
         predict new issuances from an issuance without a date_published.
    
    This commit does NOT provide any feedback to the user about which fields
    are required. That would require further investigation into the Dojo/Dijit
    objects being used for the edit form fields.
    
    Signed-off-by: Remington Steed <rjs7 at calvin.edu>
    Signed-off-by: Jennifer Pringle <jpringle at sitka.bclibraries.ca>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/templates/serial/subscription/issuance.tt2 b/Open-ILS/src/templates/serial/subscription/issuance.tt2
index aaa0ee8..a90e5b0 100644
--- a/Open-ILS/src/templates/serial/subscription/issuance.tt2
+++ b/Open-ILS/src/templates/serial/subscription/issuance.tt2
@@ -28,6 +28,7 @@
         fmClass="siss"
         query="{id: '*'}"
         editOnEnter="true"
+        requiredFields="['date_published','holding_code']"
         showPaginator="true">
         <thead>
             <tr>

-----------------------------------------------------------------------

Summary of changes:
 .../src/templates/serial/subscription/issuance.tt2 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list