samwilson / dokuwiki_sortablejs

Otto Vainio's sortablejs plugin for Dokuwiki, adapted to use Christian Bach's Tablesorter jQuery plugin.
http://dokuwiki.org/plugin:sortablejs
0 stars 3 forks source link

First non-header line is always shown at top, regardless of sorting when using on a CSV imported table. #4

Open Aephir opened 3 years ago

Aephir commented 3 years ago

First off, great plugin. I do have one issue though, I'm using the csv plugin to read from a file, and 'wrapping' it in the sortablejs.

Everything works, except the first line is always shown at the top (below the header line). All subsequent lines sort as expected.

Below are screenshots of the sorted and reverse sorted (on column 1 "species").

Screenshot 2021-05-05 at 09 47 11 Screenshot 2021-05-05 at 09 47 18

and this is the way I wrote it:

<sortable 1>

<csv documents:Prey.species.C.SF.csv></csv>

</sortable>