? ? ? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
19 Apr 2016

Pull Request for Improvement.

Summary of Changes

One filter, IMO, is missing in com_modules: the page filter.
I think this filter is very handy since it can show all modules for a particular menu item.

image

Testing Instructions

  1. Apply patch
  2. Go to Extensions -> Modules
  3. Create custom modules witl "All", "No pages", "All except selected" and "Only selected" menu assigments
  4. Now test the new filter
  5. Test also the filter when adding "+Module" in articles
    • in backend the filter should appear
    • in frontend the filter shouldn't appear

Note: The filter query needs to be tested in postgresql too (it's a query with several subqueries).

Observations

There actually an inconsistency in admin modules list: the "Pages" column exist and shouldn't.
Note that inconsistency already exists because the column is already there.

So i guess a PR to correct that should also remove this filter from the admin modules list.

avatar andrepereiradasilva andrepereiradasilva - open - 19 Apr 2016
avatar andrepereiradasilva andrepereiradasilva - change - 19 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Apr 2016
Labels Added: ? ?
avatar andrepereiradasilva andrepereiradasilva - change - 19 Apr 2016
The description was changed
avatar brianteeman
brianteeman - comment - 19 Apr 2016

Just as with position it is possible to set pages to ::none::
So there needs to be a way to select ::none:: from the filter


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar andrepereiradasilva
andrepereiradasilva - comment - 19 Apr 2016

ok, you're right, makes sense. will check that.

avatar andrepereiradasilva
andrepereiradasilva - comment - 19 Apr 2016

ok done. We have an option to select the modules not assigned to any pages now too.

avatar andrepereiradasilva andrepereiradasilva - change - 19 Apr 2016
The description was changed
avatar brianteeman brianteeman - test_item - 19 Apr 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 19 Apr 2016

I have tested this item :white_check_mark: successfully on fe3b973

All good.

Just think it would be better if instead of "No pages" it would be the same as with positions and be ":: None ::"


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar brianteeman brianteeman - change - 19 Apr 2016
Labels
avatar brianteeman brianteeman - change - 19 Apr 2016
Category Components UI/UX
avatar andrepereiradasilva
andrepereiradasilva - comment - 19 Apr 2016

Just think it would be better if instead of "No pages" it would be the same as with positions and be ":: None ::"

IMO that could be confusing. Because that is a term used in the positions.

We could use "None" (instead of "No pages") like in the column when you have a module not assigned to any menu if you prefer. Please tell me what you prefer, i can easily chnage it.

avatar brianteeman
brianteeman - comment - 19 Apr 2016

I will leave it to someone else to decide which option


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar andrepereiradasilva
andrepereiradasilva - comment - 19 Apr 2016

@brianteeman BTW did you test on postgresql ?

avatar brianteeman
brianteeman - comment - 19 Apr 2016

Not yet - i forgot - testing that for you now

avatar brianteeman
brianteeman - comment - 19 Apr 2016

As far as I can see it works well in postgres

avatar MDXBilal12 MDXBilal12 - test_item - 19 Apr 2016 - Tested successfully
avatar MDXBilal12
MDXBilal12 - comment - 19 Apr 2016

I have tested this item :white_check_mark: successfully on fe3b973

All good.

Just think it would be better if instead of "No pages" it would be the same as with positions and be ":: None ::"


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar MDXBilal12
MDXBilal12 - comment - 19 Apr 2016

All good.

Just think it would be better if instead of "No pages" it would be the same as with positions and be ":: None ::"


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar brianteeman
brianteeman - comment - 20 Apr 2016

@andrepereiradasilva if you make the change to ::none:: I will set this RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar joomla-cms-bot
joomla-cms-bot - comment - 20 Apr 2016

This PR has received new commits.

CC: @brianteeman, @MDXBilal12


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar andrepereiradasilva
andrepereiradasilva - comment - 20 Apr 2016

@brianteeman done. See 28183f5

avatar brianteeman
brianteeman - comment - 20 Apr 2016

Not at my desk but looking at the code doesn't that produce ::::none::::
On 20 Apr 2016 12:36 pm, "andrepereiradasilva" notifications@github.com
wrote:

@brianteeman https://github.com/brianteeman done. See 28183f5
28183f5


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#9987 (comment)

avatar andrepereiradasilva
andrepereiradasilva - comment - 20 Apr 2016

look again

image

avatar brianteeman brianteeman - test_item - 20 Apr 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 20 Apr 2016

I have tested this item :white_check_mark: successfully on 28183f5


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar brianteeman
brianteeman - comment - 20 Apr 2016

As I said I was checking from my phone ;) All good


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar brianteeman brianteeman - change - 20 Apr 2016
Status Pending Ready to Commit
Labels
avatar brianteeman
brianteeman - comment - 20 Apr 2016

Setting RTC as the only change since the last tests was a language string


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar joomla-cms-bot joomla-cms-bot - change - 20 Apr 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 20 Apr 2016
Milestone Added:
avatar MDXBilal12 MDXBilal12 - test_item - 22 Apr 2016 - Tested successfully
avatar MDXBilal12
MDXBilal12 - comment - 22 Apr 2016

I have tested this item :white_check_mark: successfully on 28183f5


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar brianteeman brianteeman - change - 27 Apr 2016
Category Components UI/UX Components Language & Strings UI/UX
avatar brianteeman brianteeman - change - 27 Apr 2016
Labels
avatar brianteeman
brianteeman - comment - 30 Apr 2016

I am removing the RTC from this as there is an issue with a confusing Pages filter being present when viewing admin modules only


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar brianteeman brianteeman - change - 30 Apr 2016
Status Ready to Commit Pending
avatar brianteeman brianteeman - change - 30 Apr 2016
Labels Removed: ?
avatar brianteeman
brianteeman - comment - 1 May 2016

Can you add the admin fix you made for com_templates please


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar joomla-cms-bot
joomla-cms-bot - comment - 1 May 2016

This PR has received new commits.

CC: @brianteeman, @MDXBilal12


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar andrepereiradasilva
andrepereiradasilva - comment - 1 May 2016

As requested, applied the same changes that i did in the other PR and the new filter now should only appear when "Site" is selected. Please test.

avatar brianteeman
brianteeman - comment - 1 May 2016

That works but do we even need the pages column on that view?

On 1 May 2016 at 20:53, andrepereiradasilva notifications@github.com
wrote:

As requested, applied the same changes that i did in the other PR and the
new filter now should only appear when "Site" is selected. Please test.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#9987 (comment)

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar joomla-cms-bot
joomla-cms-bot - comment - 1 May 2016

This PR has received new commits.

CC: @brianteeman, @MDXBilal12


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar joomla-cms-bot
joomla-cms-bot - comment - 1 May 2016

This PR has received new commits.

CC: @brianteeman, @MDXBilal12


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar andrepereiradasilva
andrepereiradasilva - comment - 1 May 2016

Removed pages column from admin view as requested.

avatar brianteeman
brianteeman - comment - 1 May 2016

I have tested this item :white_check_mark: successfully on 56cd264


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar brianteeman brianteeman - test_item - 1 May 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 2 May 2016

@MDXBilal12 can you please test just the latest change and mark the test ?

Latest changes:
1. Removed "Pages" column when admin modules is selected
2. The new filter does not appear when admin modules is selected

avatar andrepereiradasilva
andrepereiradasilva - comment - 7 May 2016

needs one mroe tester here.

avatar grhcj grhcj - test_item - 16 May 2016 - Tested unsuccessfully
avatar grhcj
grhcj - comment - 16 May 2016

I have tested this item :red_circle: unsuccessfully on 56cd264

The filter "all except selected" doesn't work:
Create a module with this setting (I enabled the "about joomla" pages)
In filter, choose one page that you selected in the module settings (f. ex. "Getting started".
The module still displays.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar andrepereiradasilva
andrepereiradasilva - comment - 16 May 2016

Could not reproduce your problem. I did this:

  1. Created a module (latest articles type) with:

    Module Assignment: On all pages except those selected
    Menu Selection: Just "Getting Starting" page selected

  2. In modules list view, selected in the new - Select Page - filter "Getting Starting" and the new module isn't there (as it should).

    If i choose any other page (except none) the module is there (as it should).

Could you do a step by step guide of your test so to understand the issue?

avatar grhcj
grhcj - comment - 16 May 2016

I created a module with this settings:

module_details

As you can see, the page "Getting started" is selected, which means the module isn't assigned to this page.

After that, I switched to the modules view. After applying the filter, I got this:

module_search

In my view, the module "LastModuleTest" shouldn't been displayed here.

avatar andrepereiradasilva
andrepereiradasilva - comment - 16 May 2016

you're right, it's a bug.
it happens when more than one menu item is selected in "all except".
will check.

avatar joomla-cms-bot
joomla-cms-bot - comment - 16 May 2016

This PR has received new commits.

CC: @brianteeman, @grhcj, @MDXBilal12


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar joomla-cms-bot
joomla-cms-bot - comment - 16 May 2016

This PR has received new commits.

CC: @brianteeman, @grhcj, @MDXBilal12


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar andrepereiradasilva
andrepereiradasilva - comment - 16 May 2016

sorry, please check now

avatar grhcj grhcj - test_item - 22 May 2016 - Tested successfully
avatar grhcj
grhcj - comment - 22 May 2016

I have tested this item successfully on 7e37a19


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar brianteeman brianteeman - change - 24 May 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 24 May 2016
Category Components UI/UX Language & Strings Components Feature Request Language & Strings UI/UX
avatar brianteeman brianteeman - change - 24 May 2016
Labels
avatar brianteeman brianteeman - test_item - 24 May 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 24 May 2016

I have tested this item successfully on 7e37a19


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar brianteeman brianteeman - change - 24 May 2016
Status Pending Ready to Commit
Labels
avatar brianteeman
brianteeman - comment - 24 May 2016

RTC - cool new feature


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar joomla-cms-bot joomla-cms-bot - change - 24 May 2016
Labels Added: ?
avatar roland-d roland-d - change - 24 May 2016
Status Ready to Commit Information Required
Labels
avatar roland-d
roland-d - comment - 24 May 2016

Taking off RTC for now until code fixes are implemented.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar joomla-cms-bot joomla-cms-bot - change - 24 May 2016
Labels Removed: ?
avatar joomla-cms-bot
joomla-cms-bot - comment - 24 May 2016

This PR has received new commits.

CC: @brianteeman, @grhcj, @MDXBilal12


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar andrepereiradasilva
andrepereiradasilva - comment - 24 May 2016

done @roland-d

avatar andrepereiradasilva
andrepereiradasilva - comment - 25 May 2016

@roland-d can we have the RTc back on this one. Only did the changes you requested.

avatar roland-d
roland-d - comment - 25 May 2016

@andrepereiradasilva I am having a conflict:

error: patch failed: layouts/joomla/searchtools/default/filters.php:11
error: layouts/joomla/searchtools/default/filters.php: patch does not apply

Would you mind checking if there is a conflict with current staging?

avatar andrepereiradasilva
andrepereiradasilva - comment - 25 May 2016

strange let me update the branch

avatar joomla-cms-bot
joomla-cms-bot - comment - 25 May 2016

This PR has received new commits.

CC: @brianteeman, @grhcj, @MDXBilal12


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar andrepereiradasilva
andrepereiradasilva - comment - 25 May 2016

ok @roland-d try now.

avatar brianteeman brianteeman - change - 25 May 2016
Status Information Required Pending
Labels
avatar roland-d
roland-d - comment - 25 May 2016

@andrepereiradasilva The fatal error is gone but I have a whitespace error now :)

<stdin>:108: trailing whitespace.
                                        (' . $subQuery1 . ') = 0
warning: 1 line adds whitespace errors.

In addition I have a failure in my test, see this screenshot:
image

The menu is called About Joomla and I think we should keep the same name rather than an internal name. What do you think?

avatar joomla-cms-bot
joomla-cms-bot - comment - 25 May 2016

This PR has received new commits.

CC: @brianteeman, @grhcj, @MDXBilal12


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9987.

avatar andrepereiradasilva
andrepereiradasilva - comment - 25 May 2016

you're more efficient than travis! whitespace removed

avatar andrepereiradasilva
andrepereiradasilva - comment - 25 May 2016

@roland-d

The menu is called About Joomla and I think we should keep the same name rather than an internal name. What do you think?

I think so. But thats's all across joomla menu field selector (in all views that use it).
Nothing to do with my PR. That is for another PR.

avatar andrepereiradasilva
andrepereiradasilva - comment - 25 May 2016

I will make a PR to change that in all menu select fields

avatar andrepereiradasilva
andrepereiradasilva - comment - 25 May 2016

@roland-d new PR for that #10625 please test

avatar brianteeman
brianteeman - comment - 25 May 2016

If we do that everywhere then best to resolve that in a separate email

avatar Bakual
Bakual - comment - 25 May 2016

This should be tested in other databases than MySQL (PostgreSQL or MSSQL). Because we may have to add more fields to the select statement due to the added having clause.
MySQL allows to do stuff here which PostgreSQL doesn't allow.

avatar roland-d roland-d - reference | 5e52989 - 25 May 16
avatar roland-d roland-d - change - 25 May 2016
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-05-25 18:37:30
Closed_By roland-d
avatar roland-d roland-d - merge - 25 May 2016
avatar roland-d roland-d - close - 25 May 2016
avatar roland-d
roland-d - comment - 25 May 2016

Thanks everybody

Add a Comment

Login with GitHub to post a comment