Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent category names in elements extract #443

Merged
merged 3 commits into from
Dec 11, 2023
Merged

Conversation

wuuti
Copy link
Contributor

@wuuti wuuti commented Nov 14, 2023

What does it do ?

Do not extract category names into elements any more, instead keep the ids. In order to not introduce a BC suddenly to existing installations, adds a config option category_ids_in_elements which needs to be set to true in .gitify file to activate ids in favor of names.

Why is it needed ?

There are problems when categories have the same names.

Related issue(s)/PR(s)

I see that just as an intermediate solution - i prefer having #165 being implemented, as this would give much more file "overview" in larger projects and reflect the tree like structure in the manager better (same as with resources/content, which is already extracted into folders)

@wuuti wuuti changed the title Issue 84 Prevent category names in elements extact Nov 14, 2023
@wuuti wuuti changed the title Prevent category names in elements extact Prevent category names in elements extract Nov 15, 2023
@muzzwood muzzwood merged commit b0451a6 into modmore:master Dec 11, 2023
@muzzwood
Copy link
Contributor

Looks to be working as intended when category_ids_in_elements: true is added to the .gitify file.
Thanks for the PR @wuuti !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants