LP1103068 - Show titles and authors for pre-cat items user/mrpeters/tpac-precat-title-and-author2_signoff
authorBen Shum <bshum@biblio.org>
Thu, 14 Mar 2013 21:40:04 +0000 (17:40 -0400)
committerMichael Peters <mpeters@emeralddata.net>
Fri, 15 Mar 2013 14:24:13 +0000 (10:24 -0400)
commit66ddd4ba06c9a33b2b3262237dfcf1be54a20615
tree16caa142d7969010ac867423aa25156cdf91ea4e
parent67fe98a9185ace222fe8051519cb23e4b5e42fd0
LP1103068 - Show titles and authors for pre-cat items

As noted in LP1103068, TPAC does not currently show anything when viewing a
pre-cataloged item in the my account summary of items checked out.

If the call number is -1 (pre-cat), then show the dummy title and dummy author
values, which fields are hopefully relevant as long as staff were good to put
something meaningful in those during creation of the pre-cat.

Also, wrap the title in a check for attrs.title.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Open-ILS/src/templates/opac/myopac/circs.tt2