openphoto/mobile-ios — Issue #75: Changes on JSON for tags reflects a bug on iOS Mobile
Author: patricksan
Created: 2011-11-28 11:26:46+00:00
State: open
Labels: Release 1.3.1

The iPhone apps shows how many pictures the user has for each tag displaying the _count_.
But there is a new field called _countPrivate_. The last one should be taken in consideration.

**Total tag = count + countPrivate**

```json

{"message":"Tags for the user","code":200,"result":[
{"id":" Traveling","count":"0","countPrivate":"1","countPublic":"1"},
{"id":"2011","count":"0","countPrivate":"42","countPublic":"42"},{"id":"August","count":"0","countPrivate":"1","countPublic":"1"},
{"id":"Belgium","count":"0","countPrivate":"1","countPublic":"1"},{"id":"Family","count":"0","countPrivate":"1","countPublic":"1"},
{"id":"March","count":"0","countPrivate":"5","countPublic":"5"},{"id":"November","count":"0","countPrivate":"36","countPublic":"36"},
{"id":"['belgium']","count":"0","countPrivate":"1","countPublic":"1"},{"id":"birthday","count":"0","countPrivate":"22","countPublic":"22"},
{"id":"christian","count":"0","countPrivate":"22","countPublic":"22"}]}

````

This change is mandatory on Release 1.3.1

@jmathai, do you agree with it?