Files
Jeremy 039c96a1d7 fix: address review findings on store currency and locale
Hide `settings` from sparse fieldset responses. The stores list handler
force-selects the column so the `currency` and `locale` accessors resolve,
but StoreTransformer emits every loaded attribute, so an internal workaround
leaked per-store scraper configuration into a response that asked for
`id,name`. Hide it again after pagination unless it was explicitly requested.

Fall back to the app defaults when a store's locale override is present but
empty. The accessors use data_get(), which only falls back when the key is
absent, so `locale_settings: {currency: null, locale: null}` serialised as
`currency: null` and `locale: ""` — both rejected by Intl.NumberFormat.
Matches the existing guard in MetaExtractionResource.
2026-08-08 11:48:21 +10:00
..