mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-11-01 03:02:39 +00:00
Removed Joomla 4 warning
Fixed branch filter Set Yes as first option in filters Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
parent
39c5db61bd
commit
4ea1532319
@ -247,7 +247,7 @@ class PullsModel extends ListModel
|
||||
if (!empty($branch))
|
||||
{
|
||||
$query->where(
|
||||
$db->quoteName('pulls.branch') . ' = ' . $db->quote($branch)
|
||||
$db->quoteName('pulls.branch') . ' IN (' . implode(',', $db->quote($branch)) . ')'
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
namespace PatchTester\View\Pulls;
|
||||
|
||||
use Exception;
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Form\Form;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Pagination\Pagination;
|
||||
@ -127,11 +126,6 @@ class PullsHtmlView extends DefaultHtmlView
|
||||
|
||||
Text::script('COM_PATCHTESTER_CONFIRM_RESET');
|
||||
|
||||
if (version_compare(JVERSION, '4.0', 'ge'))
|
||||
{
|
||||
Factory::getApplication()->enqueueMessage(Text::_('COM_PATCHTESTER_40_WARNING'), 'warning');
|
||||
}
|
||||
|
||||
return parent::render();
|
||||
}
|
||||
|
||||
|
@ -14,10 +14,11 @@
|
||||
type="list"
|
||||
default=""
|
||||
validate="options"
|
||||
onchange="this.form.submit();"
|
||||
>
|
||||
<option value="">COM_PATCHTESTER_FILTER_APPLIED_PATCHES</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
<option value="0">JNO</option>
|
||||
</field>
|
||||
|
||||
|
||||
@ -26,10 +27,11 @@
|
||||
type="list"
|
||||
default=""
|
||||
validate="options"
|
||||
onchange="this.form.submit();"
|
||||
>
|
||||
<option value="">COM_PATCHTESTER_FILTER_RTC_PATCHES</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
<option value="0">JNO</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
@ -37,10 +39,11 @@
|
||||
type="list"
|
||||
default=""
|
||||
validate="options"
|
||||
onchange="this.form.submit();"
|
||||
>
|
||||
<option value="">COM_PATCHTESTER_FILTER_NPM_PATCHES</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
<option value="0">JNO</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
|
Loading…
Reference in New Issue
Block a user