Copy_offset and copy_limit shouldn't persist in URL
authorKathy Lussier <klussier@masslnc.org>
Thu, 31 Jan 2013 15:51:40 +0000 (10:51 -0500)
committerBen Shum <bshum@biblio.org>
Fri, 1 Feb 2013 16:27:53 +0000 (11:27 -0500)
Added copy_offset and copy_limit to stop_parms definition so that they
don't persist in URL when returning to search results or launching
subject/series searches.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/body.tt2

index 0d9a58b..2e74d66 100644 (file)
@@ -1,7 +1,7 @@
 [%-  attrs = {marc_xml => ctx.marc_xml};
     PROCESS "opac/parts/misc_util.tt2";
     PROCESS get_marc_attrs args=attrs;
-    stop_parms = ['expand','cnoffset'];
+    stop_parms = ['expand','cnoffset','copy_offset','copy_limit'];
     ctx.record_attrs = attrs; # capture for JS
 %]
 <div id='canvas_main' class='canvas' itemscope itemtype='[% args.schema.itemtype %]'>