From: Slawomir Bochenski <lkslawek@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: Slawomir Bochenski <lkslawek@gmail.com>
Subject: [PATCH obexd 2/2] PBAP/Tracker: Fix searching vCards by phone number
Date: Fri, 3 Feb 2012 12:03:26 +0100 [thread overview]
Message-ID: <1328267006-29847-2-git-send-email-lkslawek@gmail.com> (raw)
In-Reply-To: <1328267006-29847-1-git-send-email-lkslawek@gmail.com>
Originally only one of contact's phone numbers was stored in cache,
rendering searching by phone numbers not fully functional.
---
plugins/phonebook-tracker.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c
index d358c9f..7ac02f6 100644
--- a/plugins/phonebook-tracker.c
+++ b/plugins/phonebook-tracker.c
@@ -167,7 +167,7 @@
"} " \
"} " \
") " \
- "nco:phoneNumber(?h) " \
+ "GROUP_CONCAT(nco:phoneNumber(?h), \"" MAIN_DELIM "\") " \
"WHERE { " \
"?c a nco:PersonContact . " \
"OPTIONAL { ?c nco:hasPhoneNumber ?h . } " \
--
1.7.4.1
prev parent reply other threads:[~2012-02-03 11:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-03 11:03 [PATCH obexd 1/2] PBAP/Tracker: Fix wrong results field reference Slawomir Bochenski
2012-02-03 11:03 ` Slawomir Bochenski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1328267006-29847-2-git-send-email-lkslawek@gmail.com \
--to=lkslawek@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).