You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the metastore_admin module is enabled, the description of the menu link should read the same as is provided by the DKAN Dataset view: Administer all content in the DKAN metastore
And since dkan requires metastore_admin module as a dependency, this probably applies generally.
This could be solved in different ways I suppose. Directly changing the in metastore.links.menu.yml, changing/overwriting in metastore_admin module ...
@janette I think this was supposed to create a sub-menu item so you could get straight to the create form from the admin menu -- I could swear this worked at one point but the path is clearly wrong?
dafeder
changed the title
[BUG] Small inconsistency naming DKAN dataset/content overview (admin/dkan/datasets)
Small inconsistency naming DKAN dataset/content overview (admin/dkan/datasets)
Jul 25, 2024
Is there an existing issue for this?
Current Behavior
The menu link for the dataset overview is defined in https://github.com/GetDKAN/dkan/blob/2.x/modules/metastore/metastore.links.menu.yml#L32 with description Dataset content view
If the module metastore_admin is enabled, the default dataset content view from metastore.routing.yml is replaced by the DKAN Dataset content view https://github.com/GetDKAN/dkan/blob/2.x/modules/metastore/modules/metastore_admin/config/install/views.view.dkan_dataset_content.yml with description 'Administer all content in the DKAN metastore'.
But the description for the menu link is not changed still reading Dataset content view
Expected Behavior
If the metastore_admin module is enabled, the description of the menu link should read the same as is provided by the DKAN Dataset view: Administer all content in the DKAN metastore
And since dkan requires metastore_admin module as a dependency, this probably applies generally.
This could be solved in different ways I suppose. Directly changing the in metastore.links.menu.yml, changing/overwriting in metastore_admin module ...
In addition I am not sure about this defintion in metastore.routing.yml:
https://github.com/GetDKAN/dkan/blob/2.x/modules/metastore/metastore.routing.yml#L185
Is this necessary? Seems using duplicate path admin/dkan/datasets.
Steps To Reproduce
No response
Environment
No response
Relevant log output
No response
Anything else?
If you give me a hint if and what direction in changing this you may want to follow I will provide a MR.
The text was updated successfully, but these errors were encountered: