Ox.Filter: options.query -> options.value
This commit is contained in:
parent
a59d1d5129
commit
6a9d5d054d
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ pandora.ui.filterForm = function(options) {
|
|||
sort: pandora.user.ui.listSort,
|
||||
view: pandora.user.ui.listView
|
||||
} : null,
|
||||
query: Ox.clone(mode == 'list' ? list.query : pandora.user.ui.find, true),
|
||||
sortKeys: pandora.site.sortKeys,
|
||||
value: Ox.clone(mode == 'list' ? list.query : pandora.user.ui.find, true),
|
||||
viewKeys: pandora.site.listViews
|
||||
})
|
||||
.css(mode == 'embed' ? {} : {padding: '16px'})
|
||||
|
@ -49,7 +49,7 @@ pandora.ui.filterForm = function(options) {
|
|||
if (mode == 'list') {
|
||||
pandora.api.editList({
|
||||
id: list.id,
|
||||
query: data.query
|
||||
query: data.value
|
||||
}, function(result) {
|
||||
if (pandora.user.ui.updateAdvancedFindResults) {
|
||||
that.updateResults();
|
||||
|
|
Loading…
Reference in a new issue