[open-ils-commits] r15827 - trunk/Open-ILS/src/sql/Pg (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Mar 12 10:03:22 EST 2010


Author: miker
Date: 2010-03-12 10:03:20 -0500 (Fri, 12 Mar 2010)
New Revision: 15827

Modified:
   trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql
Log:
return the correct failpart for precat/noncat items

Modified: trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql	2010-03-12 15:03:04 UTC (rev 15826)
+++ trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql	2010-03-12 15:03:20 UTC (rev 15827)
@@ -309,7 +309,7 @@
 
     -- Fail if we couldn't find the item 
     IF item_object.id IS NULL THEN
-        result.fail_part := 'no_user';
+        result.fail_part := 'no_item';
         result.success := FALSE;
         done := TRUE;
         RETURN NEXT result;



More information about the open-ils-commits mailing list