diff --git a/pandora/archive/admin.py b/pandora/archive/admin.py index 6a7763f8..4e73e88f 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 b55eb053..dc2199a0 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) {