diff --git a/pandora/archive/admin.py b/pandora/archive/admin.py index 6a7763f..4e73e88 100644 --- a/pandora/archive/admin.py +++ b/pandora/archive/admin.py @@ -14,7 +14,7 @@ class FileAdmin(admin.ModelAdmin): admin.site.register(models.File, FileAdmin) class InstanceAdmin(admin.ModelAdmin): - search_fields = ['name', 'volume', 'volume__name'] + search_fields = ['name', 'folder', 'volume__name'] #form = ArchiveFileAdminForm admin.site.register(models.Instance, InstanceAdmin) diff --git a/static/js/pandora.js b/static/js/pandora.js index b55eb05..dc2199a 100755 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -1274,7 +1274,7 @@ app.constructMainMenu = function() { app.$ui.list.sortList(id, operator); } else if (data.id == 'viewmovies') { var view = data.checked[0].id; - app.url('/?v='+view); + app.url('/#view='+view); } }, click: function(event, data) {