? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
20 Apr 2016

Pull Request for Improvement.

Summary of Changes

All backend views that are or are associated with tree like structures (e.g. menus, categories) should have a max level filter.

This is valid currently for:

  • com_menus items view
  • com_content articles view
  • com_content featured view
  • com_tags tags view

So, this PR is a part of series of PR to add that filter in the views that use categories:

  • com_contacts contacts view (RTC #9975)
  • com_banners banners view (RTC #9977)
  • com_newsfeeds newsfeeds view (RTC #9978)
  • com_notes notes view (RTC #9984)
  • com_banners tracks view (this PR)

image

Testing Instructions

  1. Use latest staging and apply this patch
  2. Create some banners categories with at least two levels
  3. Create some banners and associate them to the categories created in 2..
  4. Go to "Components" -> "Banners" -> "Tracks" (ensure you have some tracks, see note below) and test the new max levels filter.

Note: If you don't have tracks records you can generate some in the database (#__banners_tracks table), example:

INSERT INTO `<prefix>_banner_tracks` (`track_date`, `track_type`, `banner_id`, `count`) VALUES ('2016-04-11 00:00:00', '1', '1', '5');
INSERT INTO `<prefix>_banner_tracks` (`track_date`, `track_type`, `banner_id`, `count`) VALUES ('2016-01-11 00:00:00', '2', '1', '7');
INSERT INTO `<prefix>_banner_tracks` (`track_date`, `track_type`, `banner_id`, `count`) VALUES ('2015-04-11 00:00:00', '2', '2', '9');
INSERT INTO `<prefix>_banner_tracks` (`track_date`, `track_type`, `banner_id`, `count`) VALUES ('2016-02-11 00:00:00', '2', '2', '12');
avatar andrepereiradasilva andrepereiradasilva - open - 20 Apr 2016
avatar andrepereiradasilva andrepereiradasilva - change - 20 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Apr 2016
Labels Added: ?
avatar wojsmol
wojsmol - comment - 20 Apr 2016

@andrepereiradasilva Please corect last inset for <prefix>_banner_tracks

avatar andrepereiradasilva
andrepereiradasilva - comment - 20 Apr 2016

ups, sorry done

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 1f3576e


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

avatar brianteeman brianteeman - change - 20 Apr 2016
Category Components UI/UX
avatar richard67
richard67 - comment - 21 Apr 2016

@andrepereiradasilva With the patch applied I see these 2 green fields for begin and end date, in addition to those at the top where I could adjust the dates. Without the patch, I do not see these green fields.

Question: 1. Is this intended, and 2. what are those fields good for? When I click the calendar button right beside one of these green fields, nothing happens.


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 21 Apr 2016
  1. Is a know issue #7856 not related to this PR
  2. Filter in a date interval

See #9951 when searchtools where implemented ther for more info.

avatar richard67
richard67 - comment - 21 Apr 2016

Ok, seems my latest staging was not late enough: It did not contain #9951 :smile:

I'll test again soon but think it will be ok then.

avatar andrepereiradasilva
andrepereiradasilva - comment - 21 Apr 2016

:smile:

avatar richard67 richard67 - test_item - 21 Apr 2016 - Tested successfully
avatar richard67
richard67 - comment - 21 Apr 2016

I have tested this item :white_check_mark: successfully on 1f3576e


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

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

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 21 Apr 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 21 Apr 2016
Milestone Added:
avatar rdeutz
rdeutz - comment - 21 Apr 2016

technically this is a new feature and it doesn't fix a bug so it has to go into 3.6.0

avatar rdeutz rdeutz - change - 21 Apr 2016
Milestone Added:
avatar rdeutz rdeutz - change - 21 Apr 2016
Milestone Removed:
avatar rdeutz
rdeutz - comment - 2 May 2016

@andrepereiradasilva cloud you please check the merge conflicts, thanks

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

This PR has received new commits.

CC: @brianteeman, @richard67


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

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

This PR has received new commits.

CC: @brianteeman, @richard67


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

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

This PR has received new commits.

CC: @brianteeman, @richard67


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

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

This PR has received new commits.

CC: @brianteeman, @richard67


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 2 May 2016

finnaly, all conflicts fixed

avatar rdeutz rdeutz - change - 2 May 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-05-02 11:12:05
Closed_By rdeutz
avatar rdeutz rdeutz - close - 2 May 2016
avatar rdeutz rdeutz - merge - 2 May 2016
avatar joomla-cms-bot joomla-cms-bot - close - 2 May 2016
avatar rdeutz rdeutz - reference | fab5c55 - 2 May 16
avatar rdeutz rdeutz - merge - 2 May 2016
avatar rdeutz rdeutz - close - 2 May 2016
avatar joomla-cms-bot joomla-cms-bot - change - 2 May 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment