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

fix SQL statement #7

Merged
merged 1 commit into from
Nov 23, 2023
Merged

fix SQL statement #7

merged 1 commit into from
Nov 23, 2023

Conversation

jdshaw
Copy link
Contributor

@jdshaw jdshaw commented Nov 20, 2023

  • Fixes SQL statement to
    • prevent an Omeka-S error for anonymous (not logged in users)
    • correctly add the is_public portion to the WHERE clause

As it was, previous to the addition of ASC to the ORDER BY clause, the is_public piece seems to have done nothing. I believe it was intended to be in the WHERE clause.

@Daniel-KM
Copy link
Owner

Indeed, i updated the query in many places and didn't check here.

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.

2 participants