WebDevStudios / WebDevStudios/taxonomy-switcher

Option to retain selected parent when switching a specified category.

Open
#3 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
32
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the taxonomy-switching implementation and tracing how a selected category with nested children is handled. Reproduce the Artists example with children and grandchildren; done means switching preserves the selected parent and its descendants under the new taxonomy.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
content
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.