Jan Böhmer
b724b05de6
Fixed "implicitly marking parameter as nullable" deprecations in PHP 8.4 fixed
2025-02-08 00:19:20 +01:00
Jan Böhmer
3247a97217
Removed "All" page length option for log tables, as this easily causes an out of memory situation on the server
...
You can easily have thousands of log entries, making it impossible to view them all at once.
This fixes #835
2025-02-01 23:44:07 +01:00
Jan Böhmer
946032a101
Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0
2024-12-28 23:08:08 +01:00
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
6225d2c9b3
Implemented an easy to use APIFilter for tags
...
This makes the process of filters more easily and intuitive. This fixes issue #750
2024-11-05 00:07:25 +01:00
Jan Böhmer
01fc6524a4
Added a aggregate function for storelocation sorting to avoid exceptions on Postgres
...
Actually this was not good on other DB types too, but they just ignored the problems.
This fixes issue #734
2024-11-04 23:46:45 +01:00
Jan Böhmer
8193e7a68e
Allow to show attachment IDs in attachment table
2024-08-24 15:48:50 +02:00
Jan Böhmer
7fc3153dde
Fixed filter logic for exclusion of entities. Before parts with null values as property value were wrongly not shown
...
This fixes issue #658
2024-08-23 22:58:04 +02:00
Jan Böhmer
eb02404d49
Fixed typing of TextConstraint
2024-06-22 19:06:07 +02:00
Jan Böhmer
c780c0bd92
Fixed "__partLot already defined" error when using a between filter for amountSum on postgres
2024-06-22 19:03:30 +02:00
Jan Böhmer
8f631cae63
Split up NumberConstraint and DateTimeConstraint for better type enforcement
2024-06-22 18:53:26 +02:00
Jan Böhmer
235d572f8c
Use DatetimeImmutable instead of DateTime wherever possible
2024-06-22 17:36:54 +02:00
Jan Böhmer
20f32c7f12
Applied rector suggestions
2024-06-22 00:31:43 +02:00
Jan Böhmer
b4d8d31c2d
partUnit column in part datatable now shows the correct data
...
This fixes issue #630
2024-06-19 23:28:53 +02:00
Jan Böhmer
3f471d0c73
Natsort MPN column in part datatables
2024-06-18 22:34:29 +02:00
Jan Böhmer
4a706ab707
Do not natsort description fields as these can become very long
2024-06-18 22:34:13 +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
d7a7e22e5a
Fixed lessThanDesired Constraint for postgresql
2024-06-17 21:16:46 +02:00
Jan Böhmer
d3dcefb645
Fixed total amount and less than desired filter on postgresql
2024-06-16 23:26:57 +02:00
Jan Böhmer
6d1553e8d8
Fixed problem with datatable column sorting on postgresql
2024-06-16 22:52:15 +02:00
Jan Böhmer
6e9b337b49
Fixed regex function for postgres
2024-06-13 23:18:25 +02:00
Jan Böhmer
c58ff5861d
Replaced the non standard IFNULL function which postgres does not know with the COALSCE function
2024-06-13 23:01:53 +02:00
Jan Böhmer
0d445b6a21
Fixed some minor inspection issues caused by the doctrine upgrades
2024-06-09 23:51:41 +02:00
Jan Böhmer
d49bb1f4b5
Removed unused import statements
2024-03-03 20:34:36 +01:00
Jan Böhmer
87533b6031
Fixed further inspection issues
2024-03-03 20:33:24 +01:00
Jan Böhmer
42e604245c
Fixed some inspection issues
2024-03-03 19:57:31 +01:00
Jan Böhmer
fad8f26eaa
Added additional projects related filters to part table views
2024-03-02 19:18:55 +01:00
Jan Böhmer
04d1e84596
Added a filter to filter for parts which are used in a specific project
...
Related to issue #516
2024-03-02 19:00:30 +01:00
Jan Böhmer
934acca934
Added an column to part table view to show which projects a part uses.
...
Fixes issue #516
2024-03-02 18:48:31 +01:00
Jan Böhmer
b7ce91e2d8
Use the new system of datatables-select 2.0 where checkboxes are true checkbox fields
2024-03-02 01:04:28 +01:00
Jan Böhmer
a72a61091a
Only add the amountSum select for part tables if it is really required
2024-02-29 23:35:05 +01:00
Jan Böhmer
c635637c00
Fixed problem that tables could not be sorted by manufacturers, categories, etc.
2024-02-29 23:13:17 +01:00
Jan Böhmer
2e5b2c8b7d
Removed amountSum subquery from the detail query, as its result is not used anywhere
2024-02-25 01:46:35 +01:00
Jan Böhmer
fbd095ab50
Only add the joins to the parts table filter query if they are really required
...
This should improve the performance of the queries slightly
2024-02-25 01:40:25 +01:00
Jan Böhmer
b176cb1ae1
Use a much faster query to retrieve the total number of rows in datatables
...
This should increase performance on part tables
2024-02-25 00:58:26 +01:00
Jan Böhmer
963079afbf
Fixed static analysis issue
2023-12-06 00:00:32 +01:00
Jan Böhmer
641b47b189
Updated omines/datatables-bundle
2023-12-05 23:36:26 +01:00
Jan Böhmer
9e69a09a19
Fixed translation of stock change type in log table
2023-11-25 19:16:54 +01:00
Jan Böhmer
83ad99215f
Added optional "stocked amount" and storage locations columns for the BOM list
...
This fixes issue #429
2023-11-19 22:13:25 +01:00
Jan Böhmer
563edb1731
Added ipn to possible columns in project BOM view
...
This fixes issue #418
2023-10-26 17:55:03 +02:00
Jan Böhmer
1becde537b
Fixed test issues
2023-10-08 21:54:51 +02:00
Jan Böhmer
3c5a96ba5c
Merge branch 'part-table-columns-config'
2023-10-08 21:50:43 +02:00
Jan Böhmer
470df57f58
Removed useless permissions checks, as the permissions are now always granted automatically, if the user has read access to parts
2023-10-08 21:36:05 +02:00
Jan Böhmer
185c88fa3e
Removed now useless visibility options from PartsDataTable
...
The visibility is now configured by the env variable, so this is useless.
2023-10-08 21:32:57 +02:00
Jan Böhmer
79262972aa
Renamed config env to TABLE_PARTS_DEFAULT_COLUMNS and updated documentation
2023-10-08 21:28:37 +02:00
Jan Böhmer
1369091b90
Moved column sorting and visibility logic to its own (non-shared) helper service
2023-10-08 21:07:22 +02:00
Jan Böhmer
1b276c5eae
Fixed typo in name of TwoStepORMAdapter
2023-10-06 13:08:46 +02:00
misaz
0753b7137f
fixed tab/spaces in PartsDataTable
2023-10-04 21:30:04 +02:00
misaz
9d54001f89
added support for configuring columns in part table which are enabled by default as well as their order.
2023-10-04 21:14:57 +02:00
Jan Böhmer
0af5a58dbe
Renamed Storelocation entity to StorageLocation
2023-09-04 22:57:40 +02:00