From 3746dc2b16179628ca4c077159969b0804625a48 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 8 Jun 2009 14:55:20 +0000 Subject: [PATCH] allow rlist URLs to honor offset param git-svn-id: svn://svn.open-ils.org/ILS/trunk@13339 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/js/rresult.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Open-ILS/web/opac/skin/default/js/rresult.js b/Open-ILS/web/opac/skin/default/js/rresult.js index 6252e543a..4d5c23ef5 100644 --- a/Open-ILS/web/opac/skin/default/js/rresult.js +++ b/Open-ILS/web/opac/skin/default/js/rresult.js @@ -207,7 +207,7 @@ function rresultHandleList() { } else { count = ids.length; } - if(ids) _rresultHandleIds(ids, count); + if(ids) _rresultHandleIds(ids, count, getOffset()); } var rresultTries = 0; @@ -263,12 +263,11 @@ function rresultCollectRecords(ids) { */ -function rresultCollectRecords(ids) { +function rresultCollectRecords(ids, base) { runEvt("result", "preCollectRecords"); var x = 0; - //var base = getOffset(); - var base = 0; + if (!base) base = 0; if( rresultIsPaged ) base = 0; for( var i = base; i!= getDisplayCount() + base; i++ ) { -- 2.11.0