arrow_back Back to Tickets

Ticket #e240d2

completed

Problem

when a user selects a category that is empty. show them other categories that have posts. and how many posts are in that category. create a tool that if there is no data in a category. tell me all the other category that have data. and how many posts . so I can go and click on those categories.

Creator

Marcus

Priority

1

Project Name

zfrika

Previous Steps

next step . what can I do? let's create a diagram. search for No Posts yet. , add first post. also , there are three fields. total post. empty category status which route called results.ejs? all routes are calling results. check in the route if the table is empty for that country. If it is , the query all tables and pull data data. ' we added this statement to check if there is data. if(result.length===0){ console.log("there is no data in results"); } how do I pull data from accounting , while I'm in finance? how can I count how many record are in othe categories?

Next Steps

Includ the neighboring countries of the same category , if the field is empty. I
if kenya finance doesn’t have any data. Then look up finance in the all other countries.

Ticket Information

Ticket ID: 69658e37df2473a6c8e240d2
Date Initiated: 1/14/2026, 12:13:00 AM
Date Resolved: 1/18/2026, 7:15:00 PM
Status: completed
Created: 1/12/2026, 4:13:43 PM
Last Updated: 1/19/2026, 11:17:15 AM