We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4ee6a commit 882ced8Copy full SHA for 882ced8
packages/adapter/lib/adapter/adapter.js
@@ -2593,8 +2593,8 @@ function Adapter(options) {
2593
2594
// Limit search ranges for system views to the relevant namespaces
2595
// to prevent too wide searches where the objects never will be
2596
- if (design === 'system') {
2597
- switch (search && !params.startkey && (!params.endkey || params.endkey === '\u9999')) {
+ if (design === 'system' && !params.startkey && (!params.endkey || params.endkey === '\u9999')) {
+ switch (search) {
2598
case 'host':
2599
params.startkey = 'system.host.';
2600
params.endKey = 'system.host.\u9999';
0 commit comments