Hierarchical taxonomy in Multi Select field using enhanced user interface
-
I’ve discovered the preceding dashes added to child categories interfere with the search-as-you-type functionality when enhanced user interface is selected for the Multi Select field type.
For example, typing “Comms” to find the “Communications” child category finds nothing because the category has essentially been renamed “–Communications”
I’ve modified the plugin file directly to stop this happening, but wonder if you’d include it in an update.
Changed lines 323 and 425 of gfcptaddonbase.php to include a space after “–”
Line 323:
$item->post_title = str_repeat('-- ', $level) . $item->post_title;
Line 425:
$item->name = str_repeat('-- ', $level) . $item->name;
- The topic ‘Hierarchical taxonomy in Multi Select field using enhanced user interface’ is closed to new replies.