Commit a514315f authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen Committed by Torstein
Browse files

DEICH-5925 update fields returned from patron search

parent 1122a774
......@@ -105,7 +105,10 @@ WITH t AS (SELECT upperagelimit from categories where categorycode = 'B')
SELECT
dateofbirth,
TIMESTAMPDIFF(YEAR, dateofbirth, CURDATE()) AS age,
CONCAT(surname, ', ', firstname) AS name,
surname,
firstname,
borrowernumber,
cardnumber,
categorycode
FROM borrowers, t
WHERE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment