Jan Böhmer
e223078af9
Added a custom function to make PostgresSQL searches case insensitive
...
This is required only for postgres as every other database is case invariant by default. But to achieve a portable way, we implement it via a custom DQL function.
This fixes issue #784
2024-12-02 00:17:54 +01:00
Jan Böhmer
d6ff22fc44
Show in server info page which natural sorting method is used
...
This should ease debugging
2024-07-28 14:13:34 +02:00
Jan Böhmer
19e5d302f4
Fixed detection on mariadb natsort capabilities on distributions which use the 5.5.5- prefix for MariaDB version
2024-06-23 21:13:37 +02:00
Jan Böhmer
20f32c7f12
Applied rector suggestions
2024-06-22 00:31:43 +02:00
Jan Böhmer
123372d93f
Allow to emulate natural sort on mysql platforms
2024-06-18 21:42:00 +02:00
Jan Böhmer
272fe0516b
Allow to emulate natural sorting on SQLite databases
2024-06-18 00:09:44 +02:00
Jan Böhmer
289c9126d0
Use Natural_SORT_KEY for natural sorting on MariaDB database which support that
...
This resolves issue #243 and #402
2024-06-17 23:29:38 +02:00
Jan Böhmer
0a482da93e
Use postgres native array_position function instead of our FIELD function and pass it as array literal instead of variadic function
...
Otherwise we will run into errors, that we can not give more than 100 arguments to a function
2024-06-17 23:13:04 +02:00
Jan Böhmer
8bb8118d9f
Use natural sorting for trees and others repository functions
2024-06-17 22:33:40 +02:00
Jan Böhmer
9db822eabd
Use natural sorting for string datatables columns when using postgres
...
The natural sorting solution is quite portable, so this should be possible for other database types too later
2024-06-17 21:38:16 +02:00
Jan Böhmer
6e9b337b49
Fixed regex function for postgres
2024-06-13 23:18:25 +02:00
Jan Böhmer
bd640c19a4
Fixed type of token object is now a property instead of array value in Field2
2024-06-09 23:55:12 +02:00
Jan Böhmer
d49bb1f4b5
Removed unused import statements
2024-03-03 20:34:36 +01:00
Jan Böhmer
42e604245c
Fixed some inspection issues
2024-03-03 19:57:31 +01:00
Jan Böhmer
294f7cf005
Fixed some deprecations related to missing return types
2023-10-25 17:27:37 +02:00
Jan Böhmer
62b1e33616
Fixed field ordering on SQLite
2023-07-29 16:42:27 +02:00
Jan Böhmer
5c30210534
Fixed some stuff on the emulated Field2 function and added tests
2023-07-27 00:38:17 +02:00
Jan Böhmer
d3ead8742e
Implement a special field2 function, to migitiate the argument count limit in sqlite
...
This fixes issue #332 on SQLite DBs
2023-07-26 23:23:25 +02:00