Making WordPress.org

Opened 5 years ago

Closed 5 years ago

#5165 closed enhancement (fixed)

API: all categories should be shown, even if they are not attached to videos

Reported by: casiepa's profile casiepa Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: WordPress.tv Keywords:
Cc:

Description

When running https://wordpress.tv/api/categories.json ALL existing categories should be shown. At this moment only categories that are attached to at least one video are show.

We are getting from this API route the list of all possible cities and if a city does not yet have videos attached, the city is not shown

Change History (1)

#1 @dd32
5 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 9762:

WordPress.TV: Include all empty terms in the API feeds.

Fixes #5165.

Note: See TracTickets for help on using tickets.