grocerist / grocerist-app

Repo for Grocerist's Web-Application
https://grocerist.github.io/grocerist-app/
MIT License
1 stars 0 forks source link

subsub categories #219

Closed kisram closed 5 days ago

kisram commented 1 week ago

a fourth level of categories was added, they want to allow the structure main category -> subcategory -> subsubcategory -> goods. I already made adjustments in Baserow but this currently causes the make_chartsjson script to fail. I changed the is_main_category column to a single select with the category type and now each category only has one "part_of" entry again (which is why the error in the script occurs). Dashboard charts and the categories table need to be adjusted to the change

kisram commented 1 week ago

as a temporary fix, decided to add back the old "part_of" entries under the hood until I can change the code next week. Products belonging to the subsubcategory will appear to belong to two subcategories, but that's still better than an empty page.