Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata create page - allow to configure the metadata template / group to select by default #108

Merged
merged 2 commits into from
Jan 27, 2022

Conversation

fxprunayre
Copy link

No description provided.

josegar74 and others added 2 commits January 20, 2022 15:28
* Preferred group & template / resourceType is always an array

See https://github.com/titellus/core-geonetwork/blob/4.0.x/core/src/main/java/org/fao/geonet/kernel/search/EsSearchManager.java#L526.

* Preferred group & template / Get setting value from gnConfig.

* Preferred group & template / GroupComboo directive no use a standard ng-options so the model is a group object and we update groupOwner with the id of the currently selected model group. By default, if ownerGroup set, select it among the list of groups, if not select the first one.

* Preferred group & template / Fix for portal group config.

* Preferred group & template / Set default group in directory and import panel.
@fxprunayre fxprunayre merged commit ed10bf0 into titellus:4.0.x Jan 27, 2022
fxprunayre pushed a commit that referenced this pull request Mar 28, 2022
…up to select by default (#108) - fix display title for the selected metadata
fxprunayre added a commit to geonetwork/core-geonetwork that referenced this pull request Apr 13, 2022
Related to titellus#108 and #6232

Test:
* Create 2 harvesters with different group
* Reload
* Both display the group of the first one displayed (they have correct one in db config)

When the ownerGroup prop is updated by the harvester panel, we have to update the selectedGroup.
fxprunayre added a commit to geonetwork/core-geonetwork that referenced this pull request Apr 22, 2022
Related to titellus#108 and #6232

Test:
* Create 2 harvesters with different group
* Reload
* Both display the group of the first one displayed (they have correct one in db config)

When the ownerGroup prop is updated by the harvester panel, we have to update the selectedGroup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants