TPAC: Improve copy display in record summary
authorDan Scott <dan@coffeecode.net>
Sun, 8 Jan 2012 21:14:29 +0000 (16:14 -0500)
committerBill Erickson <berick@esilibrary.com>
Wed, 18 Jan 2012 22:01:36 +0000 (17:01 -0500)
commit3acde47346f093c2ee13e5c5a8d3742a7bae2dde
treec3d4c4fcdd68c435d34f2f2cfd593b188bb70781
parentc4c9f600cfecc8d65f860da92d1e5f899d5d0356
TPAC: Improve copy display in record summary

In the copy counts, offer a link to display the copies at parent
libraries that have available copies. For example, if you are browsing
at BR1 and there are no available copies, but you see that SYS1 has
available copies, clicking "(Show)" beside the SYS1 available copy count
will change the search scope to SYS1 and display the copies for BR1 and
BR2.

Also, avoid displaying the copy table header if there are no physical
copies to display (for example, if there are located URIs that make the
copy show up in search results).

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/opac/parts/record/copy_counts.tt2
Open-ILS/src/templates/opac/parts/record/copy_table.tt2