PIWIGO API - pwg.categories.delete doesn't work properly. #643

Closed
opened 2026-10-05 00:08:51 +02:00 by adam · 0 comments
Owner

I've been trying to use the piwigo api and noticed an issue with delete for categories - pwg.categories.delete.

When you delete a category, the parent category's (sub) nb_categories field reported by pwg.categories.getList is not updated.

e.g.

create:

myCatParent

myCatParent nb_categories = 0

myCatParent > myCat

myCatParent nb_categories = 1

delete myCat

myCatParent nb_categories = 1

I've been trying to use the piwigo api and noticed an issue with delete for categories - pwg.categories.delete. When you delete a category, the parent category's (sub) nb_categories field reported by pwg.categories.getList is not updated. e.g. create: myCatParent myCatParent nb_categories = 0 myCatParent > myCat myCatParent nb_categories = 1 delete myCat myCatParent nb_categories = 1 <!-- github-sync-id:232394082 -->
adam closed this issue 2026-10-05 00:08:52 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#643