What this page does
This page lets operators reorder casino sub-categories inside one selected parent category. The page loads the selected parent category's sub-categories, sorts them by stored order, and lets the operator drag rows into a new visible sequence before saving.
When to use it
- change sub-category order for one parent category
- review the curated sequence before saving
- correct ordering after creating, deleting, or moving sub-categories
How to use it
- Choose a parent category in
Select Category. - Drag sub-category rows into the intended order.
- Review the visible
Positionvalues. - Click
Save Order.
Cancel returns to the main Sub-Categories list without saving the current drag state.
What changes when saved
Save Order persists the submitted row sequence for the selected parent category. The save flow rewrites each included sub-category's stored order value starting from 1.
Known caveats
- The page initially selects parent category id
1before the operator chooses another value. - The dropdown includes a blank option. Choosing it can result in an invalid parent category selection and a failed save.
- The page reads only the first 100 sub-categories for the selected parent category. If a parent category has more than 100 sub-categories, saving can fail because save validation requires the submitted order list to match the full category count.
- The table header says
Order ID, but the rendered row value is the current visiblePosition, not the stored order id. - Dragging rows changes the browser-side sequence only. Nothing is persisted until
Save Ordersucceeds.