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

link creator's name to search #855

Closed
wants to merge 5 commits into from

Conversation

ines-cruz
Copy link
Contributor

@ines-cruz ines-cruz commented May 25, 2021

No description provided.

@ines-cruz ines-cruz force-pushed the linkpillssearch branch 2 times, most recently from 1d70ebf to f93c682 Compare May 25, 2021 14:34
@ines-cruz
Copy link
Contributor Author

part of the task ( the linking the subjects) will be done in this task: #856

@ppanero
Copy link
Member

ppanero commented May 25, 2021

could you add screenshot of how the UI looks like? (different sizes 👼 )

@ines-cruz
Copy link
Contributor Author

authors1
authors2

Sorry, here are the changes, i just added the link to the name of the author, you can see the link in the bottom of the page when you hover over a name and then the other photo is the search page after we click on the name

@ines-cruz ines-cruz self-assigned this May 26, 2021
class="ui tooltip-popup text-muted"
{% if show_affiliations and creatibutor.affiliations %}
data-content="{{ creatibutor.affiliations|join('; ', attribute='1') }}"
{% endif %}
href="/search?q=metadata.creators.person_or_org.name{{ creatibutor.person_or_org.name}}"
Copy link
Member

@lnielsen lnielsen May 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
href="/search?q=metadata.creators.person_or_org.name{{ creatibutor.person_or_org.name}}"
href="{{ url_for('invenio_search_ui.search', q='metadata.creators.person_or_org.name:" creatibutor.person_or_org.name") }}"

Can you check that the following would work:

  • Deposit a record with both a person and an organistaion.
  • Make sure both of them have spaces in their name and the names are unique to all other records.
  • Once deposited, you should be able to click the name, and get a hit (and only one hit) in the search result.

@ines-cruz
Copy link
Contributor Author

closed in favor of #858

@ines-cruz ines-cruz closed this May 26, 2021
fenekku added a commit to fenekku/invenio-app-rdm that referenced this pull request May 7, 2024
fenekku added a commit to fenekku/invenio-app-rdm that referenced this pull request May 7, 2024
fenekku added a commit to fenekku/invenio-app-rdm that referenced this pull request May 7, 2024
fenekku added a commit to fenekku/invenio-app-rdm that referenced this pull request Jul 9, 2024
fenekku added a commit to fenekku/invenio-app-rdm that referenced this pull request Jul 9, 2024
fenekku added a commit to fenekku/invenio-app-rdm that referenced this pull request Jul 19, 2024
…y-membership-request discussion page

- add necessary template variable
- add style
- generalize header macro

membership-requests [inveniosoftware#855]: waiting flow: dashboard
fenekku added a commit to fenekku/invenio-app-rdm that referenced this pull request Jul 26, 2024
fenekku added a commit to fenekku/invenio-app-rdm that referenced this pull request Jul 29, 2024
…munity dashboard [+]

- also fix top menu to display "Members"
fenekku added a commit to fenekku/invenio-app-rdm that referenced this pull request Jul 30, 2024
…y-membership-request discussion page

- add necessary template variable
- add style
- generalize header macro

membership-requests [inveniosoftware#855]: waiting flow: dashboard
fenekku added a commit to fenekku/invenio-app-rdm that referenced this pull request Jul 30, 2024
fenekku added a commit to fenekku/invenio-app-rdm that referenced this pull request Jul 30, 2024
…munity dashboard [+]

- also fix top menu to display "Members"
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.

4 participants