GitLab Sort Content

A userscript that makes some lists & markdown tables sortable

Autor
Mottie
Dziennych instalacji
0
Wszystkich instalacji
122
Oceny
1 0 0
Wersja
0.1.1-beta
Utworzono
08-04-2018
Zaktualizowano
09-04-2018
Size
5,23 KB
Licencja
MIT
Dotyczy

A userscript that makes markdown tables sortable

  • This userscript makes the following content sortable, and examples
  • The script uses tinysort:
    • So only a ascending or descending sort of the list can be applied.
    • The only way to reset the sort is to reload the page.
    • Sorting of dates will work if all dates are within the same year; dates that span years will not sort properly - this is a limitation of the tinysort plugin.
  • The sort only applies to the elements on the current page; lists that continue on to other pages are not included.

* NOTE * Columns containing dates will not sort as expected because the tinysort library does not support it natively.

gitlab-sort-content-table