public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Radoslaw Jablonski <ext-jablonski.radoslaw@nokia.com>
To: linux-kernel@vger.kernel.org
Cc: "Radoslaw Jablonski (EXT-Comarch/Helsinki)" 
	<ext-jablonski.radoslaw@nokia.com>
Subject: Re: [PATCH] PBAP tracker-query update for addr fields
Date: Thu, 23 Dec 2010 13:23:06 +0200	[thread overview]
Message-ID: <4D13311A.3010402@nokia.com> (raw)
In-Reply-To: <1293103124-17625-1-git-send-email-ext-jablonski.radoslaw@nokia.com>

  Hi,

On 12/23/2010 01:18 PM, Radoslaw Jablonski (EXT-Comarch/Helsinki) wrote:
> This is needed to display many addresses of the same type
> (WORK/HOME/OTHER) in different rows in pbap pull response.
> Currently in that case all addresses of the same type
> were displayed in the same row.
> ---
>   plugins/phonebook-tracker.c |   12 ++++++------
>   1 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c
> index 59221cb..b7acead 100644
> --- a/plugins/phonebook-tracker.c
> +++ b/plugins/phonebook-tracker.c
> @@ -109,7 +109,7 @@
>   "tracker:coalesce(nco:locality(?aff_addr), \"\"), \";\","		\
>   "tracker:coalesce(nco:region(?aff_addr), \"\"), \";\","			\
>   "tracker:coalesce(nco:postalcode(?aff_addr), \"\"), \";\","		\
> -"tracker:coalesce(nco:country(?aff_addr), \"\") ),\";\")"		\
> +"tracker:coalesce(nco:country(?aff_addr), \"\") ),\"\30\")"		\
>   "WHERE {"								\
>   "?_role nco:hasPostalAddress ?aff_addr"					\
>   "}) "									\
> @@ -191,7 +191,7 @@
>   	"tracker:coalesce(nco:locality(?aff_addr), \"\"), \";\","	\
>   	"tracker:coalesce(nco:region(?aff_addr), \"\"), \";\","		\
>   	"tracker:coalesce(nco:postalcode(?aff_addr), \"\"), \";\","	\
> -	"tracker:coalesce(nco:country(?aff_addr), \"\") ),\";\")"	\
> +	"tracker:coalesce(nco:country(?aff_addr), \"\") ),\"\30\")"	\
>   	"WHERE {"							\
>   	"?_role nco:hasPostalAddress ?aff_addr"				\
>   	"}) "								\
> @@ -337,7 +337,7 @@
>   	"tracker:coalesce(nco:locality(?aff_addr), \"\"), \";\","	\
>   	"tracker:coalesce(nco:region(?aff_addr), \"\"), \";\","		\
>   	"tracker:coalesce(nco:postalcode(?aff_addr), \"\"), \";\","	\
> -	"tracker:coalesce(nco:country(?aff_addr), \"\") ),\";\")"	\
> +	"tracker:coalesce(nco:country(?aff_addr), \"\") ),\"\30\")"	\
>   	"WHERE {"							\
>   	"?_role nco:hasPostalAddress ?aff_addr"				\
>   	"}) "								\
> @@ -482,7 +482,7 @@
>   	"tracker:coalesce(nco:locality(?aff_addr), \"\"), \";\","	\
>   	"tracker:coalesce(nco:region(?aff_addr), \"\"), \";\","		\
>   	"tracker:coalesce(nco:postalcode(?aff_addr), \"\"), \";\","	\
> -	"tracker:coalesce(nco:country(?aff_addr), \"\") ),\";\")"	\
> +	"tracker:coalesce(nco:country(?aff_addr), \"\") ),\"\30\")"	\
>   	"WHERE {"							\
>   	"?_role nco:hasPostalAddress ?aff_addr"				\
>   	"}) "								\
> @@ -621,7 +621,7 @@
>   	"tracker:coalesce(nco:locality(?aff_addr), \"\"), \";\","	\
>   	"tracker:coalesce(nco:region(?aff_addr), \"\"), \";\","		\
>   	"tracker:coalesce(nco:postalcode(?aff_addr), \"\"), \";\","	\
> -	"tracker:coalesce(nco:country(?aff_addr), \"\") ),\";\")"	\
> +	"tracker:coalesce(nco:country(?aff_addr), \"\") ),\"\30\")"	\
>   	"WHERE {"							\
>   	"?_role nco:hasPostalAddress ?aff_addr"				\
>   	"}) "								\
> @@ -813,7 +813,7 @@
>   "tracker:coalesce(nco:locality(?aff_addr), \"\"), \";\","		\
>   "tracker:coalesce(nco:region(?aff_addr), \"\"), \";\","			\
>   "tracker:coalesce(nco:postalcode(?aff_addr), \"\"), \";\","		\
> -"tracker:coalesce(nco:country(?aff_addr), \"\") ),\";\")"		\
> +"tracker:coalesce(nco:country(?aff_addr), \"\") ),\"\30\")"		\
>   "WHERE {"								\
>   "?_role nco:hasPostalAddress ?aff_addr"					\
>   "}) "									\
Sorry for spam, this should go to linux-bluetooth mailing list instead.

BR,
Radek

      reply	other threads:[~2010-12-23 11:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23 11:18 [PATCH] PBAP tracker-query update for addr fields Radoslaw Jablonski
2010-12-23 11:23 ` Radoslaw Jablonski [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=4D13311A.3010402@nokia.com \
    --to=ext-jablonski.radoslaw@nokia.com \
    --cc=linux-kernel@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