[Koha-bugs] [Bug 29144] Move branches.opac_info to AdditionalContents allowing multi language
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Oct 17 11:39:29 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29144
--- Comment #75 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Marcel de Rooy from comment #73)
> (In reply to Jonathan Druart from comment #72)
> > Caught by Owen on IRC: DT search is broken (general search when searching
> > for libraries).
> >
> > Uncaught TypeError: col.data.split is not a function
> >
> > It's because opac_info is searchable but "data" is a function:
> >
> > "data": function( row, type, val, meta ) {
> > return ''; // provisional placeholder for opac_info
> > },
> > "searchable": true,
> > "visible": false,
> > "orderable": false
I am seeing several columns where data is a function btw.
"data": function( row, type, val, meta ) {
const library_info = [];
"data": function( row, type, val, meta ) {
var result = '<a class="btn btn-default btn-xs"
href="/cgi-bin/koha/admin/branches.pl?op=add_form&branchcode='+encodeURIComponent(row.library_id)+'"
role="button"><i class="fa fa-pencil" aria-hidden="true"></i>
'+_("Edit")+'</a>';
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list