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:13 +0000 (09:56 -0400)
commit97bf1bb3b78e6b1ae825e26230a0766bce28162c
treeb4e4940331d06bd90f8bbf794c28c294b6da3aa3
parent5391ddb464bc7e55aaa187dd7641b76d12d869fc
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