{** * templates/controllers/grid/settings/user/userGridFilter.tpl * * Copyright (c) 2014-2019 Simon Fraser University * Copyright (c) 2000-2019 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @brief Filter template for user grid. * * @uses int|null $filterData.oldUserId The user grid is re-used when merging * users. During the process, an $oldUserId is passed representing the user to * be merged. This is used to distinguish the grid filter IDs. The $oldUserId * must be submitted with the client form in order to ensure that the unique * IDs are used when the grid is refreshed. This ensures the filter form * binds to the correct grid when the filter is submitted and refreshed. *} {assign var=filterId value="userSearchForm"} {if $filterData.oldUserId} {assign var=filterId value=$filterId|concat:"-userMerge"} {/if}