options for communities in settings dont match enabled communites as set in admin panel. #18
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixed the community settings mismatch!
Problem Found:
The community selection in settings was using a hardcoded list of only 6 communities that didn't match the actual enabled communities configured in the admin panel's
collection_targets.Root Cause:
The
settings_communities()function had a static list whileplatform_config.jsondefines many more communities, andcollection_targetsspecifies which ones are actually being crawled.Solution Implemented:
Backend Changes
platform_config.jsoninstead of hardcoded listcollection_targets(actually being crawled)display_name,icon, anddescriptionfrom platform configBefore vs After:
collection_targetswith full metadataThe community settings page now dynamically reflects exactly what's enabled in the admin panel configuration!
Commit:
94ffa69~claude