[open-ils-commits] r13341 - branches/rel_1_4_0/Open-ILS/web/opac/skin/default/js (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jun 8 11:00:46 EDT 2009
Author: miker
Date: 2009-06-08 11:00:45 -0400 (Mon, 08 Jun 2009)
New Revision: 13341
Modified:
branches/rel_1_4_0/Open-ILS/web/opac/skin/default/js/rresult.js
Log:
allow rlist URLs to honor offset param
Modified: branches/rel_1_4_0/Open-ILS/web/opac/skin/default/js/rresult.js
===================================================================
--- branches/rel_1_4_0/Open-ILS/web/opac/skin/default/js/rresult.js 2009-06-08 14:55:49 UTC (rev 13340)
+++ branches/rel_1_4_0/Open-ILS/web/opac/skin/default/js/rresult.js 2009-06-08 15:00:45 UTC (rev 13341)
@@ -207,7 +207,7 @@
} 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, 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++ ) {
More information about the open-ils-commits
mailing list