mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
multi word searches now doesn't matter the order of the words
This commit is contained in:
parent
348ac9d3ac
commit
94f259aace
BIN
archive/community.applications-2017.10.04.txz
Normal file
BIN
archive/community.applications-2017.10.04.txz
Normal file
Binary file not shown.
@ -2,8 +2,8 @@
|
|||||||
<!DOCTYPE PLUGIN [
|
<!DOCTYPE PLUGIN [
|
||||||
<!ENTITY name "community.applications">
|
<!ENTITY name "community.applications">
|
||||||
<!ENTITY author "Andrew Zawadzki">
|
<!ENTITY author "Andrew Zawadzki">
|
||||||
<!ENTITY version "2017.10.01a">
|
<!ENTITY version "2017.10.04">
|
||||||
<!ENTITY md5 "f57dba2e59e6b077f4f287eed4fff296">
|
<!ENTITY md5 "3cffaf87ba44fce45ef4eec5a9ad4e4e">
|
||||||
<!ENTITY launch "Settings/PluginSettings">
|
<!ENTITY launch "Settings/PluginSettings">
|
||||||
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
|
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
|
||||||
<!ENTITY github "Squidly271/community.applications">
|
<!ENTITY github "Squidly271/community.applications">
|
||||||
@ -13,6 +13,9 @@
|
|||||||
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
|
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
|
||||||
|
|
||||||
<CHANGES>
|
<CHANGES>
|
||||||
|
###2017.10.04
|
||||||
|
- Enhanced: Vastly better searching when using multiple search terms
|
||||||
|
|
||||||
###2017.10.01
|
###2017.10.01
|
||||||
- Fixed: Display abberration when switching from Previous Apps to Pinned Apps / ca Modules
|
- Fixed: Display abberration when switching from Previous Apps to Pinned Apps / ca Modules
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ $caCredits = "
|
|||||||
<td><font color='coral'>Additional Testing</font></td>
|
<td><font color='coral'>Additional Testing</font></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><img src='https://forums.lime-technology.com/uploads/monthly_2017_02/kumaavatar.jpg.2c6c0e10ac6852b7f2ef0bc3c88b2299.jpg' width='48px' height='48px'></td>
|
<td><img src='https://forums.lime-technology.com/uploads/monthly_2017_09/59cbbf15696ec_spaceinvaderlogo.png.aacf1828fe685979ad8ea1586bfca22f.png' width='48px' height='48px'></td>
|
||||||
<td><strong><font color='coral'>gridrunner</font></strong></td>
|
<td><strong><font color='coral'>gridrunner</font></strong></td>
|
||||||
<td><font color='coral'>Additional Testing</font></td>
|
<td><font color='coral'>Additional Testing</font></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -631,13 +631,16 @@ function create_ini_file($settings,$mode=false) {
|
|||||||
# #
|
# #
|
||||||
#######################################################
|
#######################################################
|
||||||
function filterMatch($filter,$searchArray) {
|
function filterMatch($filter,$searchArray) {
|
||||||
$filter = str_replace(" ","",$filter);
|
$filterwords = explode(" ",$filter);
|
||||||
|
foreach ( $filterwords as $testfilter) {
|
||||||
foreach ($searchArray as $search) {
|
foreach ($searchArray as $search) {
|
||||||
if ( preg_match("#$filter#i",str_replace(" ","",$search)) ) {
|
if ( preg_match("#$testfilter#i",str_replace(" ","",$search)) ) {
|
||||||
return true;
|
$foundword++;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
}
|
||||||
|
return ($foundword == count($filterwords));
|
||||||
}
|
}
|
||||||
|
|
||||||
###################################################################
|
###################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user