Skip to content

Commit

Permalink
Merge pull request Evarisk#678 from evarisk-kilyan/add_sort_by_position
Browse files Browse the repository at this point in the history
Evarisk#674 [SessionList] add: sort by position
  • Loading branch information
nicolas-eoxia authored Dec 2, 2024
2 parents d75bee8 + 27671ed commit 836e4d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions view/session/session_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,11 @@
$object->fields['fk_element']['enabled'] = 0;
$object->fields['fk_contrat']['enabled'] = 0;
$object->fields['fk_soc']['enabled'] = 0;
$object->fields['position']['enabled'] = 1;
$object->fields['position']['visible'] = 1;
$search['model'] = 1;
$sortfield = 't.position';
$sortorder = 'ASC';
break;
default :
$error++;
Expand Down

0 comments on commit 836e4d6

Please sign in to comment.