So far, for queries only those fields were
fetched that the user requested to see (either
by explicit declaration, or implicitly by default).
However, there are other fields as well: those used
in the filter. And there are legitimate use cases
to filter on a field without desiring to see that
field value, e.g., if filtered for equality.
(An example of such a request would be
 gnt-list -o name -F 'status == "running"'.)
Not fetching those fields, however, necessarily
lead to wrong evaluation of the filter as it
depends on unavailable data. Fix this.


Klaus Aehlig (2):
  Add a function computing the filter arguments
  In queries collect all needed data

Niklas Hambuechen (1):
  Utils: Add ordNub

 src/Ganeti/Query/Language.hs |  7 +++++++
 src/Ganeti/Query/Query.hs    | 11 +++++++----
 src/Ganeti/Utils.hs          | 10 ++++++++++
 3 files changed, 24 insertions(+), 4 deletions(-)

-- 
2.5.0.rc2.392.g76e840b

Reply via email to