[open-ils-commits] r13339 - trunk/Open-ILS/web/opac/skin/default/js (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jun 8 10:55:22 EDT 2009
Author: miker
Date: 2009-06-08 10:55:20 -0400 (Mon, 08 Jun 2009)
New Revision: 13339
Modified:
trunk/Open-ILS/web/opac/skin/default/js/rresult.js
Log:
allow rlist URLs to honor offset param
Modified: trunk/Open-ILS/web/opac/skin/default/js/rresult.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/rresult.js 2009-06-08 13:49:11 UTC (rev 13338)
+++ trunk/Open-ILS/web/opac/skin/default/js/rresult.js 2009-06-08 14:55:20 UTC (rev 13339)
@@ -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