diff --git a/archive/community.applications-2024.11.11-x86_64-1.txz b/archive/community.applications-2024.11.11-x86_64-1.txz new file mode 100644 index 00000000..c55b989a Binary files /dev/null and b/archive/community.applications-2024.11.11-x86_64-1.txz differ diff --git a/source/community.applications/usr/local/emhttp/plugins/community.applications/Apps.page b/source/community.applications/usr/local/emhttp/plugins/community.applications/Apps.page index 6cfe7d91..624b8e0f 100644 --- a/source/community.applications/usr/local/emhttp/plugins/community.applications/Apps.page +++ b/source/community.applications/usr/local/emhttp/plugins/community.applications/Apps.page @@ -2310,6 +2310,7 @@ function restoreState() { var ca_sortIcon = $.cookie("ca_sortIcon"); // enableIcon("#sortIcon",ca_sortIcon); + var restoreDone = false; post({action:"getSortOrder"},function(sortOrder) { $(".sortIcons").removeClass("enabledIcon"); $(".sortIcons").each(function() { @@ -2317,9 +2318,11 @@ function restoreState() { $(this).addClass("enabledIcon"); } }); + populateAutoComplete(); + clearMultiInstall(); + restoreDone = true; }); - populateAutoComplete(); - clearMultiInstall(); + } function disableSearch() { diff --git a/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 b/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 index 7d59d70a..c4ccc5b0 100644 --- a/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 +++ b/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 @@ -1,8 +1,8 @@ -4763bee372a2a64363268c2dc031cbea ./Apps.page +897f3aed48c029ce4699330a1a31af87 ./Apps.page 2defe45163697e40c813a57ae9a50231 ./CA_notices.page c12622d8281346d37398e96cbb6b8b69 ./ca_settings.page 01ed7990078dee7cecfeda9a4e49377e ./default.cfg -7ebc5221c82d6edbbcadd8255854699d ./include/exec.php +c4c7f4bd169af5da08163723b14e62ca ./include/exec.php becfd5ed96c03d27d4f031d7db3546f2 ./include/helpers.php a96f198a1b13229f8728e1ca1da8ee62 ./include/paths.php 7234caf6800479df03abb222aaedaca5 ./javascript/libraries.js diff --git a/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php b/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php index b4ee1257..73eb42d5 100644 --- a/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php +++ b/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php @@ -1043,6 +1043,7 @@ function get_content() { } if ( ! $filter ) { writeJsonFile($caPaths['community-templates-displayed'],$displayApplications); + @unlink($caPaths['community-templates-allsearchResults']); @unlink($caPaths['community-templates-catSearchResults']); } @@ -1180,15 +1181,14 @@ function previous_apps($enableActionCentre=false) { } else { $installed = getPost("installed",""); $filter = getPost("filter",""); + @unlink($caPaths['community-templates-allSearchResults']); + @unlink($caPaths['community-templates-catSearchResults']); + @unlink($caPaths['repositoriesDisplayed']); + @unlink($caPaths['startupDisplayed']); + @unlink($caPaths['dockerSearchActive']); } $info = getAllInfo(); - - @unlink($caPaths['community-templates-allSearchResults']); - @unlink($caPaths['community-templates-catSearchResults']); - @unlink($caPaths['repositoriesDisplayed']); - @unlink($caPaths['startupDisplayed']); - @unlink($caPaths['dockerSearchActive']); - + $file = &$GLOBALS['templates']; $extraBlacklist = readJsonFile($caPaths['extraBlacklist']); $extraDeprecated = readJsonFile($caPaths['extraDeprecated']);