summaryrefslogtreecommitdiffstats
path: root/sinksh/syntax_modules
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-05 00:09:30 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-05 00:09:30 +0200
commite470f65cad943f8a3065c6f5f6287adcc704627e (patch)
tree3bc3531b0f32b67d09cdc281f5f53bdf1d819bd7 /sinksh/syntax_modules
parent3ae3ef9676bd7fdcb45064f9a1b397c90478b4b7 (diff)
downloadsink-e470f65cad943f8a3065c6f5f6287adcc704627e.tar.gz
sink-e470f65cad943f8a3065c6f5f6287adcc704627e.zip
Specify base set as part of the filter stages in the query.
Diffstat (limited to 'sinksh/syntax_modules')
-rw-r--r--sinksh/syntax_modules/sink_show.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sinksh/syntax_modules/sink_show.cpp b/sinksh/syntax_modules/sink_show.cpp
index 100b921..5197e77 100644
--- a/sinksh/syntax_modules/sink_show.cpp
+++ b/sinksh/syntax_modules/sink_show.cpp
@@ -58,9 +58,9 @@ bool show(const QStringList &args, State &state)
58 58
59 Sink::Query query; 59 Sink::Query query;
60 if (queryForResourceOrAgent) { 60 if (queryForResourceOrAgent) {
61 query.ids << resource.toLatin1(); 61 query.filter(resource.toLatin1());
62 } else { 62 } else {
63 query.resources << resource.toLatin1(); 63 query.filter(Sink::ApplicationDomain::SinkResource(resource.toLatin1()));
64 } 64 }
65 query.liveQuery = false; 65 query.liveQuery = false;
66 66