https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40816

--- Comment #48 from David Cook <[email protected]> ---
(In reply to David Cook from comment #47)
> Jonathan pointed out on bug 42003 that in patron search the following
> happens when using filters:
> 
> Before:
> Patrons found for: Library=Institut Protestant de Théologie,
> Category=Inter-Library Loan
> 
> After:
> Patrons found for:
> Library
> =Institut Protestant de Théologie,
> Category
> =Inter-Library Loan
> 
> It's because the Datatable header used to just be two span elements but now
> they're wrapper in a <div> which has a default "display: block" CSS
> property. 
> 
> In koha-tmpl/intranet-tmpl/prog/js/datatables.js you can see the following:
> 
> 1363                 column_searches.push(
> 1364                     "%s=%s".format(
> 1365                         table_dt.column(i).header().innerHTML,
> 1366                         search
> 1367                     )
> 1368                 );
> 
> That's what's setting up this %s=%s text...

I don't know if anywhere but
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc actually uses the
"show_search_descriptions" option of $.fn.kohaTable...  I am struggling to find
somewhere else. As a positional argument, it's pretty tough to grep for this
one...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to