Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as PHP by GCC ( 13 years ago )
Index: efficiency/Efficiency/Form/Search/Custom/ListParticipant.php
===================================================================
--- efficiency/Efficiency/Form/Search/Custom/ListParticipant.php (revision 934)
+++ efficiency/Efficiency/Form/Search/Custom/ListParticipant.php (working copy)
@@ -577,7 +577,13 @@
     if (isset($this->_formValues['file_identifier'])) {
       $file_identifier = $this->_formValues['file_identifier'];
       if ($file_identifier) {
-        $clauses[] = " ga.file_identifier LIKE '%{$file_identifier}%' ";
+        $sort_name = explode(' ', trim($file_identifier));
+        $qString = "";
+        foreach ($sort_name as $key => $value) {
+          $qString .= "OR c.sort_name LIKE '%{$value}%'";
+        }
+
+        $clauses[] = " (ga.file_identifier LIKE '%{$file_identifier}%' {$qString})";
       }
     }

 

Revise this Paste

Your Name: Code Language: