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

[Fixes #109] Bug: Unable set keywords on geonode_objects when defining keyword via API #120

Conversation

mwallschlaeger
Copy link

Description

This code changes will allow users to set keywords to datasets, maps and other geonode objects via the API using syntax like e.g.
geonodectl ds patch 2 --set '{ "keywords": [ {"name" : "test2"}, {"name": "test"}] }'

Type of Change

Please select the relevant option:

  • Bug fix
  • New feature
  • Documentation update
  • Refactoring
  • Other (please describe)

Related Issue

If there is an existing issue related to this pull request, please reference it here.

closes #109

Checklist

Please ensure that your pull request meets the following requirements:

  • The pull request is limited to one type (docs, feature, bug fix, etc.)
  • The pull request is as small as possible. Consider opening multiple pull requests instead of one large one.
  • The feature or bug fix has been discussed and documented in an issue beforehand.

Additional Notes

Any additional information or context regarding the pull request can be provided here.

Thank you for creating this pull request

@mwallschlaeger mwallschlaeger added bug Something isn't working API changes to rest API keywords everything related to (thesauri) keywords Metadata labels Jun 17, 2024
@mwallschlaeger mwallschlaeger self-assigned this Jun 17, 2024
@mwallschlaeger mwallschlaeger merged commit 5448c52 into main Jun 17, 2024
4 checks passed
@mwallschlaeger mwallschlaeger deleted the issue_#109_Bug_Unable_set_keywords_on_geonode_objects_when_defining_keyword_via_API branch June 17, 2024 13:08
@specka specka added the wont test Cannot be tested, e.g. pull requests label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API changes to rest API bug Something isn't working keywords everything related to (thesauri) keywords Metadata wont test Cannot be tested, e.g. pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Unable set keywords on geonode_objects when defining keyword via API
2 participants