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

Option to retain selected parent when switching a specified category. #3

Open
mpmchugh opened this issue Oct 28, 2015 · 3 comments
Open

Comments

@mpmchugh
Copy link

It seems there needs to be an option to retain the selected parent when switching a specified category, or it should do so by default.

When selecting a category with children and grand children, it seems the selected category's children and grandchildren are switched, but the actually selected parent (or grand parent) is lost.

e.g. attempting to switch a specified "Artists" category with children and grand children, like:

Artists

  • First Name Last Name
    • a subcategory
    • a subcategory
  • First Name Last Name
    • a subcategory
    • a subcategory

When selecting "Artists" as the category to switch to the new taxonomy, all you get is:

  • First Name Last Name
    • a subcategory
    • a subcategory
  • First Name Last Name
    • a subcategory
    • a subcategory

... but the "Artists" parent is lost.

-Michael

@sc0ttkclark
Copy link
Contributor

Assuming you have created a "Artists" taxonomy, this is what the process was made for. Splitting out a set of terms from a parent into their own taxonomy. What's your exact use-case here, what taxonomy would this go into for you?

@mpmchugh
Copy link
Author

That's why I suggested it as an option.

My use case was I was re-organizing and switching a few separate hierarchical categories (with children and sub children) that I wanted to switch in their entirety to a single new taxonomy — Artists, Exhibitions, Unavailable —so I needed to keep the top-level categories selected intact.

In my exact case, I had been using a plugin that added media categories by using the standard "Posts" categories — so they were in both places, which ultimately was not desirable. So, I was re-configuring when I had found a solution to have separate Media Categories, so I wanted to move them all to the new taxonomy, not to separate taxonomies.

So, it seems there is a need for both uses.

It also seemed that this use case would be the default given the you can specify a series of categories to switch at the same time, though I can also see a use to merge multiple hierarchical categories into one as well.

Perhaps, a "retain parents" checkbox would suffice.

@sc0ttkclark
Copy link
Contributor

That makes sense to me, I'm no longer a maintainer on this project but I just stepped in to get some clarification as I was interested too.

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

No branches or pull requests

2 participants