Copy_offset and copy_limit shouldn't persist in URL user/kmlussier/lp1111339
authorKathy Lussier <klussier@masslnc.org>
Thu, 31 Jan 2013 15:51:40 +0000 (10:51 -0500)
committerKathy Lussier <klussier@masslnc.org>
Thu, 31 Jan 2013 15:51:40 +0000 (10:51 -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>
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 %]'>