diff --git a/gerrit-rest.el b/gerrit-rest.el index 30f8b86..2be3dd1 100644 --- a/gerrit-rest.el +++ b/gerrit-rest.el @@ -198,7 +198,7 @@ down the URL structure to send the request." ;; TODO query open topics (interactive "sEnter a topic name: ") (gerrit-rest-sync-v2 "GET" "/changes/" - :params `(("q" ,(concat "is:open+topic:" topicname)) + :params `(("q" ,(concat "is:open AND topic:" topicname)) ("o" "DOWNLOAD_COMMANDS") ("o" "CURRENT_REVISION") ("o" "CURRENT_COMMIT") @@ -225,7 +225,7 @@ down the URL structure to send the request." ;; see https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#list-changes (let* ((limit-entries 25) (resp (gerrit-rest-sync-v2 "GET" "/changes/" - :params `(("q" ,(concat "is:open+project:" project)) + :params `(("q" ,(concat "is:open AND project:" project)) ("o" "CURRENT_REVISION") ("o" "CURRENT_COMMIT") ("o" "DETAILED_LABELS")