소스 검색

Merge pull request #785 from Oldiesmann/release-2.1

! Fix another issue caused by Postgres being case-sensitive
Michael Eshom 10 년 전
부모
커밋
00a81f9723
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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' => '~*',
 		),