Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gem
capsuledb
Commits
da84d594
Commit
da84d594
authored
Feb 21, 2012
by
Bertrand NÉRON
Browse files
return "no results found" instaed of an empty list when no results are found
parent
4b640293
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/couchapp/secreton/lists/index.js
View file @
da84d594
...
...
@@ -47,6 +47,9 @@ function(head, req) {
item_in_col
=
0
;
}
}
if
(
!
first_key
){
send
(
'
No results found
'
);
}
var
pagination
=
{};
if
(
limit
){
if
(
query_type
==
"
is
"
){
...
...
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