replacing the 'current use' with static zero because it is being used as renewals...
authorRogan Hamby <rhamby@esilibrary.com>
Thu, 25 Jul 2019 15:05:52 +0000 (11:05 -0400)
committerRogan Hamby <rhamby@esilibrary.com>
Thu, 25 Jul 2019 15:05:52 +0000 (11:05 -0400)
collectionHQ/functions.sql

index a181121..23337f9 100644 (file)
@@ -176,7 +176,8 @@ CREATE OR REPLACE FUNCTION collectionHQ.write_item_rows_to_stdout (TEXT, INT) RE
         || COALESCE(collectionHQ.quote(bar_code), '') || ','
         || COALESCE(collectionHQ.quote(last_use_date), '') || ','
         || COALESCE(cumulative_use_total, '') || ','
-        || COALESCE(cumulative_use_current, '') || ','
+        --|| COALESCE(cumulative_use_current, '') || ','
+               || '0 ,'
         || COALESCE(collectionHQ.quote(status), '') || ','
         || COALESCE(collectionHQ.quote(date_added), '') || ','
         || COALESCE(price, '') || ','