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:58:30 +0000 (09:58 -0400)
commit46edb4760839072ce3a277d2387ab8e858bcbd72
tree131f5f2b80aeab7f1770068ea6ba19a0f387c63e
parent20d649b02beb9340dde7f94797da43e85831346d
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