#008 Unable to create primary category #8

Closed
opened 2026-08-11 14:56:18 -05:00 by BigPappa · 1 comment
Owner

Primary category creation from the admin menu does not work.

  • Identify problem
  • fix problem
Primary category creation from the admin menu does not work. - [x] Identify problem - [x] fix problem
BigPappa added the
type
bug 🐞
status
in-progress 🚧
priority
high 🔴
labels 2026-08-11 14:56:18 -05:00
Author
Owner

Resolution

Cause

Primary categories were being created successfully, but the Primary Category menu was incorrectly treating Page 1 as an assigned page even when no categories had been assigned a page or slot.

As a result, newly created unassigned categories were being placed on Page 2, leaving Page 1 empty.

Fix

Corrected the primary category pagination logic so that when no categories have an assigned page/slot, unassigned categories begin on Page 1.

Categories with explicitly assigned pages continue to display on their assigned pages, with unassigned categories beginning after the last assigned page.

Result

  • Primary categories are created successfully.
  • New unassigned categories now appear on Page 1.
  • Page 1 is no longer incorrectly left empty.
  • Assigned category page/slot placement remains unchanged.
  • No database changes were required.

Status: Resolved

## Resolution ### Cause Primary categories were being created successfully, but the Primary Category menu was incorrectly treating Page 1 as an assigned page even when no categories had been assigned a page or slot. As a result, newly created unassigned categories were being placed on Page 2, leaving Page 1 empty. ### Fix Corrected the primary category pagination logic so that when no categories have an assigned page/slot, unassigned categories begin on Page 1. Categories with explicitly assigned pages continue to display on their assigned pages, with unassigned categories beginning after the last assigned page. ### Result - [x] Primary categories are created successfully. - [x] New unassigned categories now appear on Page 1. - [x] Page 1 is no longer incorrectly left empty. - [x] Assigned category page/slot placement remains unchanged. - [x] No database changes were required. **Status: Resolved**
BigPappa added
status
ready-for-release ✅
and removed
status
in-progress 🚧
labels 2026-08-12 13:20:46 -05:00
BigPappa changed title from Unable to create primary category to #008 Unable to create primary category 2026-08-12 21:36:01 -05:00
Sign in to join this conversation.