_binary From 902cd08874fa3b0f58eb0bd27b826db55ff508ec Mon Sep 17 00:00:00 2001
From: Gargi Sheguri <gargiegs@gmail.com>
Date: Mon, 13 Nov 2023 08:29:45 -0500
Subject: [PATCH] Fixes for disjunctive logic: for news

---
 src/models/PhraseModel.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/models/PhraseModel.php b/src/models/PhraseModel.php
index 85fcf03c9..46d3a6262 100755
--- a/src/models/PhraseModel.php
+++ b/src/models/PhraseModel.php
@@ -586,7 +586,7 @@ class PhraseModel extends ParallelModel
     public function parseWordStructDisjunctiveQuery(&$search_phrase,
         $guess_semantics)
     {
-        $phrase = $search_phrase;
+        $phrase = preg_replace('/\s+/', ' ', $search_phrase);
         $search_terms = [];
         /*
         Extracts all terms specified within quotes into a single
-- 
2.42.0

