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

Ian Walls ian.walls at bywatersolutions.com
Wed Sep 8 15:52:07 CEST 2010


Removing the tablesorter code completely, both for checkouts and holds,
broke the tabbed layout on my initial tests.  How could I get around that?


-Ian

On Wed, Sep 8, 2010 at 9:00 AM, Owen Leonard <oleonard at myacpl.org> wrote:

> >                $("#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
>



-- 
Ian Walls
Lead Development Specialist
ByWater Solutions
Phone # (888) 900-8944
http://bywatersolutions.com
ian.walls at bywatersolutions.com
Twitter: @sekjal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20100908/a0b5a162/attachment-0001.htm>


More information about the Koha-patches mailing list