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 Operator does not exist bug on explore page with ONLY_SHOW_RELEVANT_REPOS #22454

Merged
merged 5 commits into from
Jan 16, 2023

Commits on Jan 15, 2023

  1. Fix Operator does not exist bug on explore page with ONLY_SHOW_RELEVA…

    …NT_REPOS
    
    There is a mistake in the code for SearchRepositoryCondition where it
    tests topics as a string. This is incorrect for postgres where topics is
    cast and stored as json. topics needs to be cast to text for this to
    work. (For some reason JSON_ARRAY_LENGTH does not work, so I have taken
    the simplest solution of casting to text and doing a string comparison.)
    
    Ref go-gitea#21962 (comment)
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Jan 15, 2023
    Configuration menu
    Copy the full SHA
    e895be8 View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: delvh <[email protected]>
    zeripath and delvh authored Jan 15, 2023
    Configuration menu
    Copy the full SHA
    1832d73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10290cc View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. Configuration menu
    Copy the full SHA
    6427d15 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0138808 View commit details
    Browse the repository at this point in the history