Closed
Bug 874456
Opened 13 years ago
Closed 13 years ago
[SMS][MMS] search contact returning invalid results, per mozContacts "contains" update
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 874501
People
(Reporter: rwaldron, Assigned: rwaldron)
References
Details
mozContacts.find({ filterOp: "contains", ... }) has been fixed to be "contains", where it was previously "startsWith". This means that the Contacts.findBy(...) implementation needs to be updated to filter matches on all terms
| Assignee | ||
Comment 1•13 years ago
|
||
Ideally a "startsWith"
Summary: [SMS][MMS] search contact returning invalid results, pre mozContacts "contains" update → [SMS][MMS] search contact returning invalid results, per mozContacts "contains" update
| Assignee | ||
Comment 2•13 years ago
|
||
Sorry about that...
Ideally a "startsWith" filterOp would be implemented as part of the platform and this could be closed with a simple change to the filterOp from "contains" to "startsWith"
| Assignee | ||
Comment 3•13 years ago
|
||
Further investigation has revealed that it was the inclusion of the "tel" field in our searches, see test case and results
https://gist.github.com/rwldrn/5621143
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•