Jan Böhmer
6045b50af2
Keep part table length selection and do not clear it at page reload
...
Fixes issue #1350
2026-05-04 22:51:13 +02:00
Wieland Schopohl
673d5b5e83
Fix sort order after column reorder on page reload ( #1346 )
...
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / build (linux/amd64, amd64, ubuntu-latest) (push) Waiting to run
Docker Image Build / build (linux/arm/v7, armv7, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build / build (linux/arm64, arm64, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build / merge (push) Blocked by required conditions
Docker Image Build (FrankenPHP) / build (linux/amd64, amd64, ubuntu-latest) (push) Waiting to run
Docker Image Build (FrankenPHP) / build (linux/arm/v7, armv7, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build (FrankenPHP) / build (linux/arm64, arm64, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build (FrankenPHP) / merge (push) Blocked by required conditions
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
When columns are reordered via colReorder and the page is reloaded,
the saved sort state uses visual column indices. These were sent
directly as initial_order to the server, which interprets them as
original indices — causing the wrong column to be sorted.
Use the saved colReorder mapping to translate visual indices back to
original indices before sending initial_order in the _init request.
2026-05-03 23:16:02 +02:00
Jan Böhmer
d7ed2225b4
Ensure that part tables are correctly sorted on initial load
2026-02-16 15:09:55 +01:00
Jan Böhmer
e81c8470be
Made part table action bar sticky floating
...
Related to PR #997
2025-09-07 21:52:04 +02:00
Jan Böhmer
f5d53dc305
Make the checkboxes of datatables look like regular bootstrap checkboxes
2024-03-02 01:28:15 +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
e9d03a0c95
Fixed "Loading..." message on datatables with no content
2024-02-18 20:31:31 +01:00
Jan Böhmer
80bae4167f
Added button to inverse part selection in tables
...
Fix issue #346
2023-08-21 22:49:02 +02:00
Jan Böhmer
e66ff40733
Use the column order stored in localStorage during the initial datatables ajax call.
...
This way we still have the right ordering when changing pages. This fixes issue #345
2023-08-20 00:41:44 +02:00
Jan Böhmer
b6dd5bb881
Fixed ordering columns of tables when columns were reordered
2023-07-08 20:16:52 +02:00
Jan Böhmer
f8e299ec56
Added new env option to show all parts on a page by default
...
Related to discussion #312
2023-07-08 19:33:23 +02:00
Jan Böhmer
7b87b00b44
Properly reset the page length when reloading a datatable
...
Fixes issue #309
2023-07-02 19:44:26 +02:00
Jan Böhmer
6081fe3295
Fixed darkmode for some elements
2023-06-20 01:01:40 +02:00
Jan Böhmer
49944cda87
Added possibility to export Parts from part tables
2023-03-12 00:27:04 +01:00
Jan Böhmer
4ecf99c17e
Don't fail when datatables state was not saved before
...
This should fix issue #241
2023-03-10 01:40:54 +01:00
Jan Böhmer
02134dc959
Do not persist the selected datatable page number, as we always want to start at the first page after a page reload.
2023-03-05 01:11:57 +01:00
Jan Böhmer
c39a9a4da7
Added checkbox in parts table header to quickly select/unselect all parts
2023-02-19 23:04:51 +01:00
Jan Böhmer
f22d65cd24
Fixed behavior of datatables fixedHeader on subsequent ajax calls.
2023-02-12 17:46:09 +01:00
Jan Böhmer
47584dd845
Automatically select the first option of part multi select.
2023-02-06 00:52:46 +01:00
Jan Böhmer
39765f05dd
Improved styling of part multiselect action
2023-02-06 00:33:57 +01:00
Jan Böhmer
7ff1584eb9
Fixed multi-part action selectors.
2023-02-06 00:08:32 +01:00
Jan Böhmer
c3308aaf24
Deselecting all rows previously selected rows after multi action is submitted.
2022-12-17 01:23:37 +01:00
Jan Böhmer
618a6e49dd
Coloring on log level in log tables now work again.
2022-12-17 01:03:22 +01:00
Jan Böhmer
498cc07583
Added copyright/license info to files
2022-11-29 21:21:26 +01:00
Jan Böhmer
f6b8e0e227
Use checkboxes for selections instead of the current full row selection.
2022-09-10 01:26:09 +02:00
Jan Böhmer
82a6ab1d4a
Persist column visibility and ordering across requests and different parts tables.
2022-09-09 00:41:35 +02:00
Jan Böhmer
4c574316c8
Show a confirmation message, if you delete parts via part table select.
2022-08-01 00:50:05 +02:00
Jan Böhmer
452f0a8362
Use stimulus for parts tables and select actions.
2022-08-01 00:31:49 +02:00