cityofaustin / joplin

CMS for austin.gov

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automate returning related services

benweatherman opened this issue · comments

Currently, the joplin API returns all services for a topic when returning related services

related = graphene.List('api.schema.ServicePageNode')

This should be smarter

@benweatherman I believe we're beginning with 6 services under 1 topic category. I imagine the way it works now is a service page returns all other services related by topic OR it returns 3 of the other services related by topic. Ideally, the services are filtered before returning so residents are not seeing a list of 5 related services OR seeing the same set of 3 on each page.