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

Allow Override of Record Title #1

Open
4 tasks done
rhodges opened this issue Nov 18, 2021 · 4 comments
Open
4 tasks done

Allow Override of Record Title #1

rhodges opened this issue Nov 18, 2021 · 4 comments
Assignees

Comments

@rhodges
Copy link
Member

rhodges commented Nov 18, 2021

Attempting to solve existing Identified Portal Issue: https://github.com/WCODP/portalissues/issues/5

  • Create and expose new custom field
  • Replace Displayed Record Name
    • Only replace if a value is set and string length > 1
  • Include custom field in search
@rhodges rhodges self-assigned this Nov 18, 2021
@rhodges
Copy link
Member Author

rhodges commented Nov 18, 2021

Create/Expose new field -- we hard-coded user_wcodpcatalog_cat:
7d6c2dd

Now we'll need to make this a drop-down menu to set 1 custom field at a time: user_wcodptitle_s
Updates in:

  • geoportal/src/main/webapp/app/content/templates/SetField.html

@rhodges
Copy link
Member Author

rhodges commented Nov 19, 2021

Do we need the custom field to be included in the search? I suspect there is documentation on this...

@rhodges
Copy link
Member Author

rhodges commented Nov 19, 2021

Do we need to override the default layer name in the Modal Title? Should we hide the Modal? Should we keep the modal and abandon the accordion?

@rhodges
Copy link
Member Author

rhodges commented Nov 19, 2021

Looks like the new field IS included in Elasticsearch's results!

rhodges added a commit that referenced this issue Nov 19, 2021
#1 PI no. 5: Override displayed record title with custom field
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

No branches or pull requests

1 participant