Skip to content

Conversation

@fxprunayre
Copy link
Member

  • Filter current record from the search (does not make sense to link record to itself)
  • Filter already associated records from the search
  • Do not display pagination component if no results.
image image

Checklist

  • I have read the contribution guidelines
  • Pull request provided for main branch, backports managed with label
  • Good housekeeping of code, cleaning up comments, tests, and documentation
  • Clean commit history broken into understandable chucks, avoiding big commits with hundreds of files, cautious of reformatting and whitespace changes
  • Clean commit messages, longer verbose messages are encouraged
  • API Changes are identified in commit messages
  • Testing provided for features or enhancements using automatic tests
  • User documentation provided for new features or enhancements in manual
  • Build documentation provided for development instructions in README.md files
  • Library management using pom.xml dependency management. Update build documentation with intended library use and library tutorials or documentation

Funded by https://metadata.vlaanderen.be/

@fxprunayre fxprunayre added this to the 4.4.10 milestone Oct 8, 2025
* Filter current record from the search
* Filter already associated records from the search
* Do not dispay pagination component if no results.
@fxprunayre fxprunayre force-pushed the feature/associatedpanelsearchfilter branch from 3879608 to eb77a1f Compare October 8, 2025 16:09
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 8, 2025

@joachimnielandt
Copy link
Contributor

Tested on VL fork for associating records into a catalog record, works as expected.

fxprunayre and others added 2 commits November 17, 2025 10:30
More robust when using old API

If current record UUID is not defined, do not fail.

eg. when configuring editor with:

```
                <action type="associatedResource"
                        name="linkToSibling"
                        btnClass="fa fa-plus"
                        process="siblings">
                <directiveAttributes>{"fields": {"associationType": "isComposedOf", "initiativeType": "" },
                  "sources": {"metadataStore": {"params": {"isTemplate": "n"}}
                  }}</directiveAttributes>
                </action>
```
… / Add support for action inside main form

Co-authored-by: Joachim Nielandt <[email protected]>
@sonarqubecloud
Copy link

@fxprunayre fxprunayre force-pushed the feature/associatedpanelsearchfilter branch from 0491df4 to 6919318 Compare November 17, 2025 10:06
@joachimnielandt
Copy link
Contributor

Retested for the modification that applies the change to the editor button, works fine.

joachimnielandt pushed a commit to Informatievlaanderen/metadata-geonetwork that referenced this pull request Nov 25, 2025
…ssociated records

* Filter current record from the search
* Filter already associated records from the search

Can also be checked geonetwork#9065 and merged from core in VL.

Related work items: #207743
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants