mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
Small follow up to https://github.com/discourse/discourse/pull/41197 - template topic category options only worked reliably when the category was already loaded in the client store. For categories that needed the async lookup path, we were passing an array where the category lookup endpoint expects a slash path. This PR keeps the local lookup using slug path segments, then passes a joined slug path to the async lookup. It also adds coverage for unloaded top-level categories and unloaded subcategories. |
||
|---|---|---|
| .. | ||
| javascripts | ||
| stylesheets | ||