[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. bdd7b7745e857372a6d0178bd76a5f19412501fe

Evergreen Git git at git.evergreen-ils.org
Tue Jan 21 14:55:44 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_4 has been updated
       via  bdd7b7745e857372a6d0178bd76a5f19412501fe (commit)
      from  7b645e63b6a40f5808a3343a8eadbfbb5f9fc4d8 (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 bdd7b7745e857372a6d0178bd76a5f19412501fe
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 e59bf74..f7e1e13 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