[Koha-patches] [PATCH] [SIGNED-OFF]New system preference UseTablesortForCirc

Owen Leonard oleonard at myacpl.org
Wed Sep 8 15:00:13 CEST 2010


>                $("#issuest").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->
>                dateFormat: 'uk',<!-- /TMPL_IF -->
>                headers: { 1: { sorter: 'articles' },5: { sorter: false },6:{sorter:false},7:{sorter:false},8:{sorter:false}}
> @@ -26,6 +27,7 @@ $.tablesorter.addParser({
>                $("#issuest").bind("sortEnd",function() {
>                $("#previous").parents("tr").remove();  // 'previous checkouts' header chokes table sorter
>            });
> +                <!-- /TMPL_IF -->
>                $("#holdst").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->

If this preference is turned on all tablesorter code needs to be
hidden completely from the template. We shouldn't leave in the
tablesorter code for the holds tab because the same slowdown could be
happening there too.

  -- Owen

-- 
Web Developer
Athens County Public Libraries
http://www.myacpl.org


More information about the Koha-patches mailing list