Commit Graph
7 Commits
Author SHA1 Message Date
kurogeek e94d72130d CMS add/edit-article (chiangmai, where-else): remove flatpickr onReady todayDateElem highlight; element is null/undefined at onReady and the class has no CSS, and the throw could prevent the Save handler from binding on add pages 2026-10-27 02:07:59 +00:00
kurogeek d49c3e2d97 CMS layout: drop Metronic demo save-category.js (ran FormValidation on a non-existent form, TypeError on every page) and duplicate upgrade-plan/create-app/users-search includes 2026-10-27 02:07:59 +00:00
kurogeek c274e6dcd9 CMS edit-article (chiangmai, where-else): remove duplicate #btn_submit handler that submitted before Editor.js serialized, prefill hidden description inputs from stored values, surface editor save failure; fixes 'Data cannot be empty' when only sub-categories changed 2026-10-26 11:15:25 +00:00
kurogeek e95006a9e9 CMS article insert/update (chiangmai, where-else): store sub_category_ids as strict CSV ('15,21' not '15, 21') so FIND_IN_SET matches every chosen sub-category, not just the first; migration strips spaces from existing rows 2026-10-26 11:15:25 +00:00
kurogeek fdb71d61c7 CMS add-article (chiangmai, where-else): validate sub-categories by name instead of duplicate id so any single sub-category can be chosen without forcing People 2026-10-26 05:37:20 +00:00
kurogeek abf482eeb0 Replace dev/schema.sql with Laravel migrations in the backend
Baseline migration reproduces the production dump byte-for-byte (verified via
mariadb-dump diff); creates are hasTable-guarded so prod only records it.
Drop stock Laravel migrations that contradict prod and Sanctum's bundled one.
2026-10-15 11:06:06 +00:00
kurogeek 7c17aa7843 initial commit 2025-11-11 14:55:29 +07:00