Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A aurweb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 90
    • Issues 90
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch Linux
  • aurweb
  • Repository
Switch branch/tag
  • aurweb
  • web
  • lib
  • pkgfuncs.inc.php
Find file BlameHistoryPermalink
  • Jakub Klinkovský's avatar
    Fix WHERE clause for keyword search queries with empty keywords · 8b2b0fe2
    Jakub Klinkovský authored Sep 05, 2020 and Lukas Fleischer's avatar Lukas Fleischer committed Oct 07, 2020
    When the keyword parameter is empty, the AND clause has to be omitted,
    otherwise we get an SQL syntax error:
    
    ... WHERE PackageBases.PackagerUID IS NOT NULL AND () ...
    
    This got broken in commit 9e30013a
    
    
    Author: Kevin Morris <kevr.gtalk@gmail.com>
    Date:   Sun Jul 5 18:19:06 2020 -0700
    
    Support conjunctive keyword search in RPC interface
    Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
    8b2b0fe2

Replace pkgfuncs.inc.php

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.