Allan Jardine
fc25f864c9
Merge pull request #531 from IServ-GmbH/fix-ip-sorting
...
Fix IP address sorting when there are empty entries in the table
3 years ago
Paik Paustian
5470f7a42d
Fix IP address sorting when there are empty entries in the table
...
When a table contains empty values, sorting by IP addresses using the `ip-address.js` sorting plugin
caused erratic sorting behaviour. The empty lines are not sorted correctly and remain scattered about
the rest of the rows.
This seems to be due to a type issue: The ip-address sorting plugin has a guard-clause if-statement
that checks if the value that is to be sorted is false-y. In that case, the integer `0` is returned.
The function seems to usually normalise ip addresses to a lexicographically sortable format, and
values like `"86b4b93fbbf0418144b55bc45057b720"` and `"173040030054"` are returned.
The resulting comparison between strings and integers seems to cause misplaced empty rows and all-over
weird sorting behaviour.
This commit changes the value returned by the guard-clause to the string value `"000000000000"`, which
is simliar to the normalized IPv4 format already used by the plugin.
3 years ago
Allan Jardine
b820aaeee5
Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine
bedb1637ca
i18n: Latest translations
3 years ago
Allan Jardine
fe3efbef1f
Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine
f3b36fada0
Fix: Support fuzzy search on a page where a non-fuzzy search DataTable is also used
3 years ago
Allan Jardine
fec024221b
Latest i18n updates
3 years ago
Allan Jardine
cf379c8142
i18n: Latest translations
3 years ago
Allan Jardine
bd2ecbfcd6
Correct copyright notice
3 years ago
Allan Jardine
04eab7aaa3
i18n: Latest translations
3 years ago
Allan Jardine
ba193c9535
Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine
222fbb6183
i18n: Latest translations
3 years ago
SandyDatatables
3f220cb0e6
fix: Fix fuzzysearch tooltip alignment issue with small screens
...
Jira Issue DD-2128
3 years ago
SandyDatatables
139ca488ff
fix: Fix issue with fuzzy search tooltip alignment
...
Jira Issue DD-2128
3 years ago
SandyDatatables
847c963c1d
fix: Fix issue with search box moving to the left when fuzzysearch toggleSmart enabled
...
Jira Issue DD-2128
3 years ago
Allan Jardine
246273745c
i18n: Latest changes
3 years ago
Allan Jardine
4bc47281e5
Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine
fc7249555e
Latest builds
3 years ago
Allan Jardine
d5cf336182
Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine
4af8e7d067
i18n: Latest translations
3 years ago
SandyDatatables
c1cf66ce24
remove: Remove all .lang files, only the json are needed now after i18n improvements
3 years ago
SandyDatatables
84f3a707a2
dev: remove debug
3 years ago
SandyDatatables
d8409c7a67
update: Move fuzzy search examples to 1.10.25
...
Jira Issue DD-2072
3 years ago
SandyDatatables
3b8785a997
fix: Fix issue with toggle button alignment on mobile devices
...
Jira Issue DD-2081
3 years ago
SandyDatatables
d8591b4836
fix: Add more notes on fuzzy search api example
...
Jira Issue DD-2078
3 years ago
SandyDatatables
f208ef7121
new: New example to demonstrate api methods
...
Jira Issue DD-2078
3 years ago
SandyDatatables
a918dd1791
fix: Fix issue with statesaving
...
Jira Issue DD-2072
3 years ago
SandyDatatables
cacba2f2d7
Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
SandyDatatables
3617a8a7a8
fix: needed another undefined check
3 years ago
Colin Marks
947dadb05f
DEV tweaks to the docs
3 years ago
SandyDatatables
119b2475ca
fix: Fix pageresize examples - needed a newer version of dt
...
Jira Issue DD-2082
3 years ago
SandyDatatables
b6fb65c68a
dev: Make examples match the actual code
...
Jira Issue DD-2070
3 years ago
SandyDatatables
3195490f51
dev: Update to use the new search.return initialisation option
...
Jira Issue DD-2073
3 years ago
SandyDatatables
dfdb13d413
fix: Fix fuzzy search api to match spec
...
Jira Issue DD-2078
3 years ago
SandyDatatables
1d421d1d70
new: Add new api method to fuzzySearch
...
Jira Issue DD-2083
3 years ago
SandyDatatables
e2d808c971
dev: Add example calculation to threshold example
...
Jira Issue DD-2075
3 years ago
SandyDatatables
de9324eaef
fix: Reduce the number of search events triggered by fuzzy search
...
Jira Issue DD-2083
3 years ago
SandyDatatables
5e1b853681
dev: Increase timeout to get to tooltip to 250ms
...
Jira Issue DD-2081
3 years ago
SandyDatatables
17745ebc93
fix: Split words on whitespace instead of non letters or numbers
...
Jira Issue DD-2077
3 years ago
SandyDatatables
b733446ed9
dev: Add more individual information to internal examples
...
Jira Issue DD-2071
3 years ago
SandyDatatables
1c0f914800
Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
SandyDatatables
e255ed546d
dev: Fix statesaving example for fuzzy searching - was setting the threshold to true which broke things
...
Jira Issue DD-2072
3 years ago
SandyDatatables
46f4352abe
dev: Update examples to contain correct code at the base of the page
...
Jira Issue DD-2070
3 years ago
Colin Marks
7d89fa90bb
DEV tweaks to examples text (same as main example)
3 years ago
SandyDatatables
d2a3b53026
dev: More improvements for fuzzySearch script
3 years ago
SandyDatatables
e8609c7464
dev: Small formatting improvements for fuzzySearch
3 years ago
SandyDatatables
683c6176ab
Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
SandyDatatables
8d52285775
dev: update script tags for renamed fuzzySearch
3 years ago
SandyDatatables
4fa1361939
dev: Rename js for fuzzySearch appropriately
3 years ago
SandyDatatables
ce88682434
new: New plugin for fuzzy searching
...
Jira Issue DD-2067
3 years ago