fixed paging bug in details next-record interface
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Aug 2006 13:51:27 +0000 (13:51 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Aug 2006 13:51:27 +0000 (13:51 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5293 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/rdetail.js

index bfcfb0f..2c50904 100644 (file)
@@ -85,7 +85,7 @@ function rdetailSetPaging(ids) {
 }
 
 
-function _rdetailNav(id) {
+function _rdetailNav(id, offset) {
        var args = {};
        args[PARAM_RID] = id;
        goTo(buildOPACLink(args));
@@ -124,9 +124,11 @@ function rdetailDraw() {
 
 function rdetailGetPageIds() {
        attachEvt("result", "idsReceived", rdetailSetPaging );
-       rresultCollectIds();
+       resultFetchAllRecords = true;
+       rresultCollectIds(true);
 }
 
+
 function buildunAPISpan (span, type, id) {
        var cgi = new CGI();
        var d = new Date();