[open-ils-commits] [GIT] Evergreen ILS branch rel_2_5 updated. 514bf65c33ed963d56f78c70823e8598b58cbe99

Evergreen Git git at git.evergreen-ils.org
Tue Jan 21 14:55:45 EST 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_5 has been updated
       via  514bf65c33ed963d56f78c70823e8598b58cbe99 (commit)
      from  943c243757a70692b8c5d4bc7bac36b0ba7db70e (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 514bf65c33ed963d56f78c70823e8598b58cbe99
Author: Steven Callender <stevecallender at esilibrary.com>
Date:   Thu Oct 10 16:09:06 2013 -0400

    Fixed title/author display at checkout for non-pre-cat items.
    
    Fixed a display problem on checkout where items that were formely pre-cats
    were still displaying the pre-cat data. Now it will make sure the item is
    still a pre-cat before using the dummy data.
    
    Signed-off-by: Steven Callender <stevecallender at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/xul/staff_client/server/circ/checkout.js b/Open-ILS/xul/staff_client/server/circ/checkout.js
index bc6fad9..d23e66e 100644
--- a/Open-ILS/xul/staff_client/server/circ/checkout.js
+++ b/Open-ILS/xul/staff_client/server/circ/checkout.js
@@ -414,13 +414,15 @@ circ.checkout.prototype = {
             
                         /*********************************************************************************************/
                         /* Override mvr title/author with dummy title/author for Pre cat */
-                        if (checkout.payload.copy.dummy_title()) {
-                            checkout.payload.record.title( checkout.payload.copy.dummy_title() );
-                        }
-                        if (checkout.payload.copy.dummy_author()) {
-                            checkout.payload.record.author( checkout.payload.copy.dummy_author() );
+                        if (checkout.payload.copy.call_number()  == -1) {
+                            if (checkout.payload.copy.dummy_title()) {
+                                checkout.payload.record.title( checkout.payload.copy.dummy_title() );
+                            }
+                            if (checkout.payload.copy.dummy_author()) {
+                                checkout.payload.record.author( checkout.payload.copy.dummy_author() );
+                            }
                         }
-           
+
                         if (checkout.payload.patron_money) {
                             obj.most_recent_balance_owed = checkout.payload.patron_money.balance_owed();
                         }

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

Summary of changes:
 Open-ILS/xul/staff_client/server/circ/checkout.js |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list