use hashurl for view

This commit is contained in:
j 2010-12-08 02:31:18 +01:00
parent 966da72548
commit ac7a52562f
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ class FileAdmin(admin.ModelAdmin):
admin.site.register(models.File, FileAdmin) admin.site.register(models.File, FileAdmin)
class InstanceAdmin(admin.ModelAdmin): class InstanceAdmin(admin.ModelAdmin):
search_fields = ['name', 'volume', 'volume__name'] search_fields = ['name', 'folder', 'volume__name']
#form = ArchiveFileAdminForm #form = ArchiveFileAdminForm
admin.site.register(models.Instance, InstanceAdmin) admin.site.register(models.Instance, InstanceAdmin)

View file

@ -1274,7 +1274,7 @@ app.constructMainMenu = function() {
app.$ui.list.sortList(id, operator); app.$ui.list.sortList(id, operator);
} else if (data.id == 'viewmovies') { } else if (data.id == 'viewmovies') {
var view = data.checked[0].id; var view = data.checked[0].id;
app.url('/?v='+view); app.url('/#view='+view);
} }
}, },
click: function(event, data) { click: function(event, data) {