HomePhabricator

Adapt queries to handle 'totals' use-case

Authored by JeanFred on Jan 31 2020, 10:45 AM.

Description

Adapt queries to handle 'totals' use-case

Integraality outputs a footer with the totals per property for the collection
(covering all groupings and no-grouping).

The queries feature was not working for these - same way
as it did not work for no-grouping (fixed in 770cc9324).

  • Output the property name in the wikicode
  • In get_query_for_items_X, interpret the lack of group as the 'totals' use-case, and generate the (simple) query

Bug: T243998

Details

Committed
JeanFredFeb 7 2020, 11:21 AM
Parents
R2566:6ab8a6c32051: Use explicit 'None' grouping for the no-grouping case
Branches
Unknown
Tags
Unknown
References
refs/pull/9/head, T243998
ChangeId
None