Commit a9679be0 authored by Sven Franck's avatar Sven Franck

app: allow to skip total record query on individual query

parent 3d6486e9
......@@ -5988,7 +5988,8 @@
}
// TODO: get ALL RECORDS matching query (and make this if disappear ...)
if (!app.storage_dict.property_dict.skip_total_records &&
if ((!app.storage_dict.property_dict.skip_total_records &&
pass.config_dict.skip_total_records !== true) &&
(pass.grant || (pass.url_dict.mode === "new" || pass.purge) &&
(pass.state && pass.state.query._id === undefined) &&
pass.config_dict.initial_query)
......
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