From 877cd8e01888c9c08555a15746674fe4e2622145 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Thu, 27 Apr 2017 16:07:21 +0100 Subject: [PATCH] Apply stored filtering options. --- .../public/coffee/main/project-list/project-list.coffee | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/services/web/public/coffee/main/project-list/project-list.coffee b/services/web/public/coffee/main/project-list/project-list.coffee index f65fcc90b3..fc9c3ea800 100644 --- a/services/web/public/coffee/main/project-list/project-list.coffee +++ b/services/web/public/coffee/main/project-list/project-list.coffee @@ -438,6 +438,13 @@ define [ path = "/project/#{selected_project_ids[0]}/download/zip" window.location = path + + if storedUIOpts?.filter? + if storedUIOpts.filter == "tag" and storedUIOpts.selectedTagId? + markTagAsSelected(storedUIOpts.selectedTagId) + $scope.setFilter(storedUIOpts.filter) + else + $scope.updateVisibleProjects() App.controller "ProjectListItemController", ($scope) -> $scope.ownerName = () ->