Last Comment Bug 852567 - Filter apps based on our adult/child flags
: Filter apps based on our adult/child flags
Status: RESOLVED FIXED
p=3 [qa+]
:
Product: Marketplace
Classification: Server Software
Component: API (show other bugs)
: 1.0
: All All
: P1 normal (vote)
: 2013-04-11
Assigned To: Rob Hudson [:robhudson]
:
:
Mentors:
Depends on: 853021
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-19 09:11 PDT by Wil Clouser [:clouserw]
Modified: 2013-04-12 14:02 PDT (History)
2 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description Wil Clouser [:clouserw] 2013-03-19 09:11:49 PDT
The flags are already in the db and can be toggled by admins from the edit page.  This bug is to ensure:

1) Apps marked 'adult' are not shown in Seahorse

2) Apps marked 'children' are not shown in the worldwide store.
Comment 1 Rob Hudson [:robhudson] 2013-03-21 11:05:18 PDT
We will need to put these in the index to be able to filter by them. Moving to API component.
Comment 2 Wil Clouser [:clouserw] 2013-03-25 13:24:55 PDT
> 2) Apps marked 'children' are not shown in the worldwide store.
Adjustment:  Neither 'children' nor 'adult' apps are shown in the worldwide store
Comment 3 Wil Clouser [:clouserw] 2013-04-08 13:21:58 PDT
No longer blocked on me.  We should do this.
Comment 4 Rob Hudson [:robhudson] 2013-04-09 15:20:20 PDT
Added flags to search index:
https://github.com/mozilla/zamboni/commit/4bb35c5
Comment 5 Rob Hudson [:robhudson] 2013-04-10 13:24:51 PDT
Added ES querying according to region:
https://github.com/mozilla/zamboni/commit/7800983 

Next, add querying to anywhere that requests apps, which I believe is home page, category pages, and featured/creatured.
Comment 6 Rob Hudson [:robhudson] 2013-04-11 16:44:56 PDT
And finally filtering out adult/child from db queries:
https://github.com/mozilla/zamboni/commit/f7843fc

Note You need to log in before you can comment on or make changes to this bug.