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

feat: add search by surname to proposal table #728

Merged
merged 26 commits into from
Oct 15, 2024

Conversation

ellen-wright
Copy link
Contributor

Closes: UserOfficeProject/issue-tracker#913

Description

This PR adds the ability to search proposals by the surname of the PI.

Motivation and Context

Requested by Emma to make searching through proposal table easier.

How Has This Been Tested

Tested manually

Fixes

Changes

Added a call to UOWS to find user numbers for users with matching surname.
And filters proposal table by any proposals with the matching user number as PI.

Depends on

Tests included/Docs Updated?

  • I have added tests to cover my changes.
  • All relevant doc has been updated

@ellen-wright ellen-wright requested a review from a team as a code owner August 30, 2024 10:46
@ellen-wright ellen-wright requested review from EdwardHaynes and removed request for a team August 30, 2024 10:46
@ellen-wright ellen-wright marked this pull request as draft September 2, 2024 12:36
@gnyiri
Copy link
Collaborator

gnyiri commented Sep 4, 2024

We would also be interested in this feature at ELI. Thanks.

@janosbabik janosbabik self-requested a review September 30, 2024 14:18
Copy link
Contributor

@janosbabik janosbabik left a comment

Choose a reason for hiding this comment

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

Hello @ellen-wright ,
I know this is still in draft, but I wanted to make sure you're aware that we should avoid using STFC-related data sources in the core.

@ellen-wright ellen-wright marked this pull request as ready for review October 10, 2024 15:11
Copy link
Contributor

@yoganandaness yoganandaness left a comment

Choose a reason for hiding this comment

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

@janosbabik Approving this, since the STFC Specific Data source has been removed to its own place.

@ellen-wright Looks good to me.

@ellen-wright ellen-wright removed the request for review from janosbabik October 15, 2024 10:31
@ellen-wright ellen-wright dismissed janosbabik’s stale review October 15, 2024 10:37

Reviewed by another member of ESS

@ellen-wright ellen-wright merged commit 620e7a0 into develop Oct 15, 2024
19 checks passed
@ellen-wright ellen-wright deleted the 913-add-search-by-name-and-email branch October 15, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow proposal filtering by PI name and email
6 participants