Skip to content

Commit

Permalink
fix: edit e2e to work with new filter name
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Jul 4, 2024
1 parent 6fcd63c commit f2a7369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ describe('dataset pages', () => {
})
it('should go to dataset search page when clicking on org name and filter by org', () => {
cy.get('[data-cy="organization-name"]').eq(1).click()
cy.url().should('include', '/search?publisher=')
cy.url().should('include', '/search?organization=')
})
it('should go to dataset search page when clicking on keyword and filter by keyword', () => {
cy.get('gn-ui-expandable-panel').eq(2).click()
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/search-fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GeoNetwork-UI has built-in logic for several search fields, each of them relying
These fields are used in the following context:

- when building a URL or permalink from several search criteria; these fields will appear as query parameters in the URL, for instance:
`/search?publisher=MyOrg&format=csv&format=excel`
`/search?organization=MyOrg&format=csv&format=excel`
- when specifying advanced filters [in a configuration file](../guide/configure.md#search)

## Fields
Expand Down

0 comments on commit f2a7369

Please sign in to comment.