TPAC: Improve copy display in record summary
authorDan Scott <dan@coffeecode.net>
Sun, 8 Jan 2012 21:14:29 +0000 (16:14 -0500)
committerDan Scott <dan@coffeecode.net>
Sun, 8 Jan 2012 21:14:29 +0000 (16:14 -0500)
commit14431bfcfe372cc8164f4f2f8171f703be713ff5
tree95789d56e6a48f5c2027be3dc9c7c7ecdea00c6d
parent922c9def9f04aa8855f34e14d5fd5f93ee3b1a54
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>
Open-ILS/src/templates/opac/parts/record/copy_counts.tt2
Open-ILS/src/templates/opac/parts/record/copy_table.tt2