Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Junming
jio
Commits
4095222e
Commit
4095222e
authored
Dec 18, 2014
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix manual query trigger condition.
parent
60012c69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/jio.storage/querystorage.js
src/jio.storage/querystorage.js
+4
-4
No files found.
src/jio.storage/querystorage.js
View file @
4095222e
...
@@ -54,10 +54,10 @@
...
@@ -54,10 +54,10 @@
// Can substorage handle the queries if needed?
// Can substorage handle the queries if needed?
try
{
try
{
if
(((
options
.
query
!==
undefined
)
&&
(
!
substorage
.
hasCapacity
(
"
query
"
)))
||
if
(((
options
.
query
===
undefined
)
||
(
substorage
.
hasCapacity
(
"
query
"
)))
&&
((
options
.
sort_on
!==
undefined
)
&&
(
!
substorage
.
hasCapacity
(
"
sort
"
)))
||
((
options
.
sort_on
===
undefined
)
||
(
substorage
.
hasCapacity
(
"
sort
"
)))
&&
((
options
.
select_list
!==
undefined
)
&&
(
!
substorage
.
hasCapacity
(
"
select
"
)))
||
((
options
.
select_list
===
undefined
)
||
(
substorage
.
hasCapacity
(
"
select
"
)))
&&
((
options
.
limit
!==
undefined
)
&&
(
!
substorage
.
hasCapacity
(
"
limit
"
))))
{
((
options
.
limit
===
undefined
)
||
(
substorage
.
hasCapacity
(
"
limit
"
))))
{
sub_options
.
query
=
options
.
query
;
sub_options
.
query
=
options
.
query
;
sub_options
.
sort_on
=
options
.
sort_on
;
sub_options
.
sort_on
=
options
.
sort_on
;
sub_options
.
select_list
=
options
.
select_list
;
sub_options
.
select_list
=
options
.
select_list
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment