mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
Fix save and load of folder checkbox in filters [SCI-8598]
This commit is contained in:
parent
5afe02552f
commit
f344b72583
1 changed files with 2 additions and 2 deletions
|
@ -577,7 +577,7 @@ var ProjectsIndex = (function() {
|
|||
createdOnFromFilter: selectDate($createdOnFromFilter),
|
||||
createdOnToFilter: selectDate($createdOnToFilter),
|
||||
membersFilter: dropdownSelector.getData($('.members-filter')),
|
||||
lookInsideFolders: $foldersCB.prop('checked') ? 'true' : '',
|
||||
lookInsideFolders: !!$foldersCB.prop('checked'),
|
||||
archivedOnFromFilter: selectDate($archivedOnFromFilter),
|
||||
archivedOnToFilter: selectDate($archivedOnToFilter),
|
||||
projectsViewSearch: $textFilter.val()
|
||||
|
@ -589,7 +589,7 @@ var ProjectsIndex = (function() {
|
|||
|
||||
$createdOnFromFilter.val(currentFilters.createdOnFromFilter);
|
||||
$createdOnToFilter.val(currentFilters.createdOnToFilter);
|
||||
$foldersCB.val(currentFilters.lookInsideFolders);
|
||||
$foldersCB.attr('checked', currentFilters.lookInsideFolders);
|
||||
dropdownSelector.setData($('.members-filter'), currentFilters.membersFilter);
|
||||
$archivedOnFromFilter.val(currentFilters.archivedOnFromFilter);
|
||||
$archivedOnToFilter.val(currentFilters.archivedOnToFilter);
|
||||
|
|
Loading…
Reference in a new issue