Fix TPAC shelf browser's previous link
authorThomas Berezansky <tsbere@mvlc.org>
Sun, 12 Aug 2012 19:16:01 +0000 (15:16 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 13 Aug 2012 13:56:33 +0000 (09:56 -0400)
commit6d6bb833d35a39a3b809cd7a48ec4f4c933a09d7
tree0f38ab38081f7003131c554cbf4a48f929f4ac0f
parente4a2048d4e5840d2e589532ad014374b5598c365
Fix TPAC shelf browser's previous link

Line fix suggested by Thomas Berezansky.

The cnoffset was strictly checking for values that start with a digit.
But negative numbers start with a "-" instead. Once this check was
changed, the previous link will continue to move further into negative
offsets.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2