[open-ils-commits] [GIT] Evergreen ILS branch rel_2_6 updated. aa02cc614b6c5f4e7ab3c72d6df9c47a28bc6170

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, rel_2_6 has been updated
       via  aa02cc614b6c5f4e7ab3c72d6df9c47a28bc6170 (commit)
      from  2c2d8a2d81cb1e6008d1ce983af0a400ee28599a (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 aa02cc614b6c5f4e7ab3c72d6df9c47a28bc6170
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