Content-Length: 289999 | pFad | https://github.com/internetarchive/openlibrary/pull/9093

00 allows librarians to view edition search by quackers2 · Pull Request #9093 · internetarchive/openlibrary · GitHub
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

allows librarians to view edition search #9093

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

quackers2
Copy link
Contributor

@quackers2 quackers2 commented Apr 16, 2024

Closes #9054

Feature

Technical

Added another check for librarians when displaying the edition search checkbox

Testing

Logged in as AccountBot and searching something, the "solr edition" checkbox should not be visible. After adding AccountBot as a librarian, the checkbox should be visible.

Screenshot

Before Adding AccountBot as librarian:
image

After Adding AccountBot as librarian:
image

Stakeholders

@RayBB
@seabelis

Copy link
Collaborator

@RayBB RayBB left a comment

Choose a reason for hiding this comment

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

@quackers2 can you change it to use is_librarian() and is_super_librarian()?

Thanks!

@RayBB RayBB added the Needs: Submitter Input Waiting on input from the creator of the issue/pr [managed] label Apr 16, 2024
@quackers2
Copy link
Contributor Author

@RayBB Done!

Copy link
Collaborator

@RayBB RayBB left a comment

Choose a reason for hiding this comment

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

Great job! Now we just need staff to merge it.

@RayBB RayBB added Needs: Staff / Internal Reviewed a PR but don't have merge powers? Use this. Priority: 3 Issues that we can consider at our leisure. [managed] and removed Needs: Submitter Input Waiting on input from the creator of the issue/pr [managed] labels Apr 16, 2024
@mekarpeles
Copy link
Member

lgtm, ty!

@mekarpeles mekarpeles merged commit f06eb72 into internetarchive:master Apr 18, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Staff / Internal Reviewed a PR but don't have merge powers? Use this. Priority: 3 Issues that we can consider at our leisure. [managed]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Edition search to be visible also to librarians (not just super librarians)
3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/internetarchive/openlibrary/pull/9093

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy