← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1488821] [NEW] SortFilterModel can't filter on subproperty like content.title

 

Public bug reported:

SortFilterModel doesn't enable to filter on subproperty.

Here is a simple non working example:

SortFilterModel {
    id: currentmodel
    model: billsResults
    filter.property: 'contents.title'
    filter.pattern: /BAR/
}

Knowing that most of the u1db models are exporting into a "contents"
property handling the rest, it seems that to chain it to a
SortFilterModel, it would be interesting to have it able to filter
through subproperties

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: qtdeclarative5-ubuntu-ui-toolkit-plugin 1.3.1603+15.10.20150812-0ubuntu1
ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
Uname: Linux 4.1.0-3-generic x86_64
ApportVersion: 2.18-0ubuntu7
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Aug 26 10:10:49 2015
InstallationDate: Installed on 2012-05-28 (1184 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: ubuntu-ui-toolkit
UpgradeStatus: Upgraded to wily on 2014-10-31 (298 days ago)

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: devexp

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1488821

Title:
  SortFilterModel can't filter on subproperty like content.title

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  SortFilterModel doesn't enable to filter on subproperty.

  Here is a simple non working example:

  SortFilterModel {
      id: currentmodel
      model: billsResults
      filter.property: 'contents.title'
      filter.pattern: /BAR/
  }

  Knowing that most of the u1db models are exporting into a "contents"
  property handling the rest, it seems that to chain it to a
  SortFilterModel, it would be interesting to have it able to filter
  through subproperties

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: qtdeclarative5-ubuntu-ui-toolkit-plugin 1.3.1603+15.10.20150812-0ubuntu1
  ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
  Uname: Linux 4.1.0-3-generic x86_64
  ApportVersion: 2.18-0ubuntu7
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Aug 26 10:10:49 2015
  InstallationDate: Installed on 2012-05-28 (1184 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  SourcePackage: ubuntu-ui-toolkit
  UpgradeStatus: Upgraded to wily on 2014-10-31 (298 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1488821/+subscriptions


Follow ups