Skip to content

Commit

Permalink
Added automatic selection of groups in filters in the calendar. (#16513)
Browse files Browse the repository at this point in the history
* Added automatic selection of groups in filters in the calendar.
  • Loading branch information
areksolek committed Sep 23, 2022
1 parent b13b79c commit 1341296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/basic/modules/Vtiger/Filters/Groups.tpl
Expand Up @@ -21,7 +21,7 @@
<div class="mr-2">
<input value="{$OWNER_ID}" type="checkbox" id="ownerId{$OWNER_ID}"
class="js-input-user-owner-id alignMiddle mr-2"
{if (empty($HISTORY_USERS) && $USER_MODEL->getId() eq $OWNER_ID) || (isset($HISTORY_USERS['selectedIds'][0]) && (($HISTORY_USERS['selectedIds'][0] eq 'all' || in_array($OWNER_ID, $HISTORY_USERS['selectedIds'])) && !in_array($OWNER_ID, $HISTORY_USERS['excludedIds']))) || $SELECT_ALL_BY_DEFAULT eq '1'} checked {/if}>
{if (empty($HISTORY_USERS) && $USER_MODEL->getId() eq $OWNER_ID) || (isset($HISTORY_USERS['selectedIds'][0]) && (($HISTORY_USERS['selectedIds'][0] eq 'all' || in_array($OWNER_ID, $HISTORY_USERS['selectedIds'])) && !in_array($OWNER_ID, $HISTORY_USERS['excludedIds']))) || ($SELECT_ALL_BY_DEFAULT eq '1') || in_array($OWNER_ID, $USER_MODEL->getGroups())} checked {/if}>
</div>
<label class="m-0 p-0 col-9 col-xxl-10 js-filter__item__value u-text-ellipsis"
for="ownerId{$OWNER_ID}">
Expand Down

0 comments on commit 1341296

Please sign in to comment.