Commit d3308c6b authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

cmdlib: Allow use of more complex filters



This patch finally enables the use of complex filters through opcodes
and LUXI.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent fb0be379
......@@ -457,11 +457,12 @@ class _QueryBase:
"""Initializes this class.
"""
self.names = qlang.ReadSimpleFilter("name", filter_)
self.use_locking = use_locking
self.query = query.Query(self.FIELDS, fields)
self.query = query.Query(self.FIELDS, fields, filter_=filter_,
namefield="name")
self.requested_data = self.query.RequestedData()
self.names = self.query.RequestedNames()
self.do_locking = None
self.wanted = None
......
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