Hadi Nategh
201d1f9972
Fix PHP8.0 error (TypeError): strlen(): Argument #1 ($string) must be of type string, array given
2021-11-04 17:23:45 +01:00
Ralf Becker
b1af39be37
fix big chunk of PHP 8.0 warnings
2021-10-21 10:39:57 +02:00
Ralf Becker
a04cbc0ab4
an other chunk of PHP 8.0 Warnings fixed
2021-10-08 15:43:48 +02:00
nathangray
35fd51da86
Add table name in when parsing search
...
Also, some code quality fixes
2021-04-19 14:34:53 -06:00
Ralf Becker
fed41622c2
fixing all sorts of PHP 8 errors and PHPStorm errors
2021-03-31 17:50:01 +02:00
Ralf Becker
37e5e12c3c
PHP 8 fix: adding explicit cast for comparing DB-version to a float major number
2021-03-31 13:31:42 +02:00
Ralf Becker
fdecefebd4
fix exception when trying to store a DateTime
2021-02-19 21:30:50 +02:00
Ralf Becker
57d5176080
remove non-digits and only search phone-numbers in phoneSearch
2021-02-15 21:28:39 +02:00
Ralf Becker
da27403b1b
* eSyncPro: fix SQL error in device list
2020-09-16 16:45:01 +02:00
Ralf Becker
eb812dad01
* PostgreSQL: fix SQL error opening ProjectManager
...
caused by exploding SQL expression by comma --> keep colums as array, to not have the need to explode it
2020-09-01 10:24:46 +02:00
Ralf Becker
0e3143d45d
fix SQL error in ranking caused by automatic added ambigous column which app code had already aliased "$table.$col AS $col"
2020-07-31 13:39:05 +02:00
Ralf Becker
319ae2637c
an other case of not automatic fixed ambigious auto-id
2020-05-08 12:35:09 +02:00
Ralf Becker
1d8f2a606b
integrate custom-field search in token processing
...
to allow to use something like: "<regluar-match-token> +<custom-field-match-token>" to return correct entries matching both
also no longer search private custom-fields not accessible by current user (gives a slower query, if private cfs exist)
2019-02-19 16:21:02 +01:00
Hadi Nategh
b3f2d7b102
Revert part of commit 05ce70f1a8
because it breaks codes where result of search function expecting to be an array instead of Db2DataIterator (eg. timesheet)
2019-01-28 12:35:41 +01:00
nathangray
05ce70f1a8
Fix missing types in admin queue and history
2019-01-23 10:41:52 -07:00
Ralf Becker
cfe9204f77
allow sql fragments in Api\Storage\Base::delete as in other places
2017-11-06 16:43:23 +01:00
Ralf Becker
790fa8c71d
allow sql fragments in Api\Storage\Base::delete as in other places
2017-11-06 16:24:30 +01:00
Ralf Becker
b30c712e19
allow to add SQL with nummeric keys to Storage\Base::read() argument, like in ::search or Db::select
2017-07-19 17:39:22 +02:00
nathangray
71de64fe8f
Break out parsing search into its own function
2017-03-16 10:54:27 -06:00
nathangray
0f83206907
* All apps - Add special search case for #<int> to only match the ID, not search the whole entry
2017-03-07 12:24:42 -07:00
Ralf Becker
bf0d1c47a0
fix sql error after clear cache, because db class has again type "mysqli" instead of just "mysql"
2016-04-27 10:42:31 +00:00
Ralf Becker
2baf654e14
move all tables to new api and update api to 16.1
2016-04-02 19:55:08 +00:00
Ralf Becker
77c5102792
fixed more namespace issues found by doc/check_namespace.php I wrote and forgot about it ;-)
2016-03-21 21:21:40 +00:00
Ralf Becker
2f4c727f9d
moving eT2 server-side to api
2016-03-19 13:06:07 +00:00
Ralf Becker
fcca19cfcf
moving so_sql* to Api\Storage
2016-03-06 09:05:20 +00:00