Browse Source

Merge pull request #785 from Oldiesmann/release-2.1

! Fix another issue caused by Postgres being case-sensitive
Michael Eshom 10 năm trước cách đây
mục cha
commit
00a81f9723
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      Sources/DbSearch-postgresql.php

+ 4 - 0
Sources/DbSearch-postgresql.php

@@ -74,10 +74,14 @@ function smf_db_search_query($identifier, $db_string, $db_values = array(), $con
 			'~IF\sEXISTS~i' => '',
 		),
 		'insert_into_log_messages_fulltext' => array(
+			'~LIKE~i' => 'iLIKE',
+			'~NOT\sLIKE~i' => '~NOT iLIKE',
 			'~NOT\sRLIKE~i' => '!~*',
 			'~RLIKE~i' => '~*',
 		),
 		'insert_log_search_results_subject' => array(
+			'~LIKE~i' => 'iLIKE',
+			'~NOT\sLIKE~i' => 'NOT iLIKE',
 			'~NOT\sRLIKE~i' => '!~*',
 			'~RLIKE~i' => '~*',
 		),