[Koha-devel] Documentation for KohaTable() javascript function
David Cook
dcook at prosentient.com.au
Fri Nov 2 00:12:36 CET 2018
Hi Jonathan,
I figured it all out in the end, but I had to dig through the code to do so, which seems suboptimal in terms of getting contributors to use it and to keep usage consistent. I also noticed the arguments for the function KohaTable in the intranet are slightly different to the function KohaTable in the OPAC.
It was all good in the end, but I was wondering if there was some documentation somewhere that I just couldn’t find, which would’ve made finishing the work faster.
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia
Office: 02 9212 0899
Direct: 02 8005 0595
From: Jonathan Druart [mailto:jonathan.druart at bugs.koha-community.org]
Sent: Thursday, 1 November 2018 10:38 PM
To: David Cook <dcook at prosentient.com.au>
Cc: Koha-devel <koha-devel at lists.koha-community.org>
Subject: Re: [Koha-devel] Documentation for KohaTable() javascript function
Hi David,
What do you want to know exactly?
`git grep KohaTable` will return:
includes/columns_settings.inc:function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) {
The more complete example is in reports/itemslost.tt <http://itemslost.tt> , it has the columns_settings and the filters.
Basically it's a wrapper for DataTables.
Cheers,
Jonathan
On Thu, 1 Nov 2018 at 01:19 David Cook <dcook at prosentient.com.au <mailto:dcook at prosentient.com.au> > wrote:
Hi all,
Does anyone know where there is any documentation for using the KohaTable() javascript function? I’m muddling through, but it would be great if there was something in at least https://wiki.koha-community.org/wiki/Coding_Guidelines.
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia
Office: 02 9212 0899 <tel:02%2092%2012%2008%2099>
Direct: 02 8005 0595 <tel:02%2080%2005%2005%2095>
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org <mailto:Koha-devel at lists.koha-community.org>
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20181102/e8097351/attachment.html>
More information about the Koha-devel
mailing list