Commit da84d594 authored by Bertrand  NÉRON's avatar Bertrand NÉRON

return "no results found" instaed of an empty list when no results are found

parent 4b640293
......@@ -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"){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment