Display full category names on upload/edit category lists

This commit is contained in:
TheAMM 2017-05-20 22:50:40 +03:00
parent b9d88e8960
commit af0cca2f8c
1 changed files with 2 additions and 1 deletions

View File

@ -555,7 +555,8 @@ def _create_upload_category_choices():
cat_names = id_map[key]
is_main_cat = key.endswith('_0')
cat_name = is_main_cat and cat_names[0] or (' - ' + cat_names[1])
# cat_name = is_main_cat and cat_names[0] or (' - ' + cat_names[1])
cat_name = ' - '.join(cat_names)
choices.append((key, cat_name, is_main_cat))
return choices