Commit Graph

33 Commits

Author SHA1 Message Date
2f77862081
add coments for documentation 2019-09-18 21:17:41 +02:00
35b566ed07
add func getArrow
this return a arrow char if colum header corelates with sort param in url
2019-09-18 21:14:34 +02:00
0ba4bb3e26
restruct code for additional features 2019-09-18 20:42:07 +02:00
286c93ef56
first declare functions then use 2019-09-18 20:40:05 +02:00
66bc536ebb
update version to 1.2.1 2019-09-18 10:35:04 +02:00
295f44fc9c
url.searchParams delete(), append() -> url.searchParams set() 2019-09-18 10:33:21 +02:00
d6beaa8664
right typo & add missing ";" 2019-09-18 10:32:11 +02:00
ff002275ca
code format 2019-09-18 02:32:50 +02:00
4e68338082
JS check if jQuery is available
and dont trust the user ;)
2019-09-18 02:29:57 +02:00
f029789e11
use jQuery to bind event
-> use JQuery to bind event on each <th> with a "data-sortt" attribute
2019-09-18 02:24:52 +02:00
d95a82e823
corect logic after short param checks 2019-09-18 00:43:09 +02:00
38deca6a2c
unset arg is bool:false & spell corection
add improvements and sugestions of gary-kim

Co-Authored-By: Gary Kim <gary@garykim.dev>
2019-09-03 16:30:00 +02:00
ff4d374835
add meta info into script head 2019-08-28 02:38:36 +02:00
ce51b467c4
use URL object insten of String operations
thanks to davydov-vyacheslav
2019-08-28 02:34:37 +02:00
28eb5848ef
bugfix:
* only reload window if corect
* parse corectly if no sort= in search but other parameters
2019-08-27 18:48:23 +02:00
9444d57e5d
bugfix: if search has no other parameters url building ailed 2019-08-27 18:20:22 +02:00
e8d5f33db2
fix some bugs 2019-08-27 17:56:10 +02:00
607f83972d remove wrong comment 2019-08-27 17:41:26 +02:00
2813577c4c
first fersion of algo finished 2019-08-27 17:39:58 +02:00
4b59391a36
cleanup 2019-08-27 17:19:56 +02:00
7833ab0dcf
add url parsing to sortt function 2019-08-27 17:16:17 +02:00
fe10eabff8
changes for onclick 2019-08-27 16:35:45 +02:00
d678f2bd02
rename gobal functin sortt_f to sortt and update Readme 2019-08-27 16:21:33 +02:00
9dcc74c22f
code reformat 2019-08-27 16:17:53 +02:00
6ee0d1a7a5
use html attribute onclock so javascript dont have to asign eventhandlers itself 2019-08-27 16:17:30 +02:00
7a48425d11 add global function and varle
* window.sortt_url (contains url sort= argument)
 * window.sortt_f (main routine to reload page with new sort parameter)
2019-08-27 16:01:58 +02:00
8dbce7b82a cleanup stuff 2019-08-27 15:06:02 +02:00
12849ba6bc rename sorttable -> sortt
and remove som stuff
2019-08-27 14:27:57 +02:00
21dc9ef50d
use old sorttable script to use code partes from it 2019-08-27 14:17:23 +02:00
c05b08fe3d Reformat Readme 2019-08-27 14:12:42 +02:00
2ec2d2a680 Improfe meta infos
* Update License infos
 * Reformat Readme
2019-08-27 14:11:42 +02:00
6fb12f56b8
add Idear/Routine to README 2019-08-27 14:03:01 +02:00
6543
2599f2dd5b Initial commit 2019-08-27 11:59:46 +00:00