• Lionel Elie Mamane's avatar
    tdf#96370 rework filtering to be aware of WHERE vs HAVING clause · 2b1d6f0d
    Lionel Elie Mamane yazdı
    Several bugs (AFAIK not filed into tdf bugzilla) fixed.
    
    Remaining problems:
    
    When some filter clauses go into WHERE and others in HAVING,
    they are always logically ANDed (it cannot be any other way),
    but that is not communicated to the user in the UI.
    
    Some things left undone:
    
    * DatabaseDataProvider (and its users?) needs to be updated
      to be HAVING-aware, too.
    
    * Form-based filter (.uno:FormFilter) not HAVING-aware
      it reads the current filter in function
      svxform::FormController::setFilter
      in
      svx/source/form/formcontrollers.cxx
      That's one place that needs to be updated.
      The other place is the one that applies the filter.
    
    Change-Id: I0e9d30a1927b6739a16ae7627e8d0dae8823b376
    2b1d6f0d
filtermanager.cxx 8.63 KB