ckanext-scheming icon indicating copy to clipboard operation
ckanext-scheming copied to clipboard

Incorrect breadcrumb menu links

Open wood-chris opened this issue 4 years ago • 0 comments

If you create a new organization type, the name of that type is reflected in the breadcrumb menu on the adding a new organization page; i.e. at http://my_site/publishers/new, the breadcrumb menu has:

 home link icon / a link to /publishers / a link to /publisher/new#

if you create a new group type, the name isn't reflected; at http://my_site/subjects/new, the breadcrumb menu has:

home link icon / a link to /group / a link to /group/edit/
  • the link to /group should be /subjects
  • the link to /group/edit/ should be /subjects/edit/

(additionally, this should be /subjects/new#, but I think this is core CKAN so will raise an issue there)

For avoidance of doubt, I do have the following in edit_base.html:

{% set group = c.group_dict %}

wood-chris avatar Jun 16 '20 16:06 wood-chris