forked from 0x2620/pandora
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,
|
sort: pandora.user.ui.listSort,
|
||||||
view: pandora.user.ui.listView
|
view: pandora.user.ui.listView
|
||||||
} : null,
|
} : null,
|
||||||
query: Ox.clone(mode == 'list' ? list.query : pandora.user.ui.find, true),
|
|
||||||
sortKeys: pandora.site.sortKeys,
|
sortKeys: pandora.site.sortKeys,
|
||||||
|
value: Ox.clone(mode == 'list' ? list.query : pandora.user.ui.find, true),
|
||||||
viewKeys: pandora.site.listViews
|
viewKeys: pandora.site.listViews
|
||||||
})
|
})
|
||||||
.css(mode == 'embed' ? {} : {padding: '16px'})
|
.css(mode == 'embed' ? {} : {padding: '16px'})
|
||||||
|
@ -49,7 +49,7 @@ pandora.ui.filterForm = function(options) {
|
||||||
if (mode == 'list') {
|
if (mode == 'list') {
|
||||||
pandora.api.editList({
|
pandora.api.editList({
|
||||||
id: list.id,
|
id: list.id,
|
||||||
query: data.query
|
query: data.value
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
if (pandora.user.ui.updateAdvancedFindResults) {
|
if (pandora.user.ui.updateAdvancedFindResults) {
|
||||||
that.updateResults();
|
that.updateResults();
|
||||||
|
|
Loading…
Reference in a new issue