]> git.koha-community.org Git - koha.git/commit
Bug 9394: (follow-up) fix query column alias
authorGalen Charlton <gmc@esilibrary.com>
Tue, 23 Jul 2013 21:06:30 +0000 (21:06 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 24 Jul 2013 05:04:57 +0000 (05:04 +0000)
commit334e00bf5ccea4658365af7a09081d1474fba0b1
treeb925818faf0f0dc88f75f377287edd7914df9873
parent1a58e8cde36d8f8b91d16dac50156812e42ea78f
Bug 9394: (follow-up) fix query column alias

A change-and-replace went a tick too far.  This patch
adjusts the column alias in the query run in MergeHolds()
to reflect that the value being returned is the number of
hold requests, not an ID.

To test:

[1] This patch should have no visible changes to behavior.  To
    verify, pick to bib records that have hold requests on them,
    then merge them together.  Verify that the merged bib
    contains sll of the hold requests on it.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Reserves.pm