User tests: Successful: Unsuccessful:
Pull Request for Issue #16882 .
Removes duplicate state filter
Added parent_id filtering
Install patch, view list of menu items. Select search tools to show more search options and a new filter is on the right. called '- Select Parent Menu Item -'.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_menus Language & Strings |
Labels |
Added:
?
?
|
Title |
|
Title |
|
Test failed :(
Select 'Site Map' as parent_id and the list does indeed filter to show the correct subitems but the 'search tools disappear' - you need to add parent_id and a.parent_id to $config['filter_fields'] in the model constructor otherwise the 'search tools' disappear when you select a parent filter (with no other filters enabled).
Additionally it would be good for the parent item list to be filtered based on the main 'menu filter'.
@GeraintEdwards i altered your unsuccessfully Test at issue Tracker.
Thanks @GeraintEdwards now resolved.
I have tested this item
Menu items are filtered correctly and the filter remains visible in the 'search tools'
Now updated @coolcat-creations @GeraintEdwards to include a custom field type which dynamically filters the menu items by menu type if the menu items in the list are already filter by type.
I have tested this item
Thank you, it works! Great improvement for large sites :)
@GeraintEdwards can you please retest?
I have tested this item
Filtering by menu type is a big functional improvement - thanks for adding it in.
Status | Pending | ⇒ | Ready to Commit |
RTC after two successful tests.
Milestone |
Added: |
@tonypartridge you don't need to care about the new jenkins setup, we are still in testing mode
That's fine, just didn't think it gets accepted unless all tests are passed.
Thanks!
On 12 Jul 2017, 10:45 +0100, Robert Deutz notifications@github.com, wrote:
@tonypartridge you don't need to care about the new jenkins setup, we are still in testing mode
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
travis and drone are required
Labels |
Added:
?
|
Actually, the lines should be moved after line 39.
@tonypartridge it's nothing you can really count on, if they have failed I look into it and most of the time it is simply a wrong test result
I’ve just copied the core Joomla! Menuitem.php type……..
On 19 Jul 2017, 13:14 +0100, Michael Babker notifications@github.com, wrote:
@mbabker commented on this pull request.
In administrator/components/com_menus/models/fields/menuitembytype.php:
foreach ($menu->links as $link)
{
$levelPrefix = str_repeat('- ', $link->level - 1);
// Displays language code if not set to All
if ($link->language !== '*')
{
$lang = ' (' . $link->language . ')';
}
else
{
$lang = '';
}
$groups[$menu->title][] = JHtml::_('select.option',
$link->value, $levelPrefix . $link->text . $lang,
If you're going to split the parameters across multiple lines, there should be one parameter per line (this line has two)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-25 23:37:41 |
Closed_By | ⇒ | mbabker |
Thanks @mbabker
On 26 Jul 2017, 00:37 +0100, Michael Babker notifications@github.com, wrote:
Merged #17060.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Cool thank you :) Will test it asap