Apply stored filtering options.

This commit is contained in:
Paulo Reis 2017-04-27 16:07:21 +01:00
parent 884a89893d
commit 877cd8e018

View file

@ -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 = () ->