projects
/
contrib
/
equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0d7224
)
stylistic tweak - capitalize keyword
author
Galen Charlton
<gmc@esilibrary.com>
Thu, 13 Feb 2014 20:37:36 +0000
(15:37 -0500)
committer
Galen Charlton
<gmc@esilibrary.com>
Thu, 13 Feb 2014 20:37:36 +0000
(15:37 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
collectionHQ/functions.sql
patch
|
blob
|
history
diff --git
a/collectionHQ/functions.sql
b/collectionHQ/functions.sql
index
52f1e8c
..
36925ad
100644
(file)
--- a/
collectionHQ/functions.sql
+++ b/
collectionHQ/functions.sql
@@
-128,7
+128,7
@@
CREATE OR REPLACE FUNCTION collectionHQ.write_item_rows_to_stdout (TEXT, INT) RE
WHERE id = lms_bib_id;
SELECT collectionHQ.attempt_price(ac.price::TEXT), barcode, ac.status,
REPLACE(create_date::DATE::TEXT, '-', ''),
- CASE WHEN floating::
int
> 0 THEN 'Y' ELSE NULL END
+ CASE WHEN floating::
INT
> 0 THEN 'Y' ELSE NULL END
INTO price, bar_code, status, date_added, rotating_stock
FROM asset.copy ac
WHERE id = item;