Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Category Manager News Feeds count #6936

Closed
wants to merge 5 commits into from
Closed

Category Manager News Feeds count #6936

wants to merge 5 commits into from

Conversation

pe7er
Copy link
Contributor

@pe7er pe7er commented May 13, 2015

This patch creates in "Category Manager: News Feeds" 4 new columns with the number of newsfeeds per category. It contains a helper file for com_newsfeeds that is used in com_categories to calculate the number of newsfeed items (published, unpublished, archived, and trashed) in each category.

Test instructions:

The Category Manager: News Feeds (Components > NewsFeeds > Categories) does not display the number of News Feeds in each category.

screen shot 2015-05-13 at 15 17 09

Create some new newsfeeds that are unpublished, trashed & archived.
Note This patch works only in combination with #6916. Install both #6916 and this patch (the order of installation does not matter, you just need both).
After installing the patch, The Category Manager: NewsFeeds (Components > NewsFeeds > Categories) should displays 4 new columns.

screen shot 2015-05-13 at 15 17 09

Please also check this patch with the Hathor admin template.

return $query;
}
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pe7er

Travis what you to remove the line 52 here 😄

FILE: ...oomla-cms/administrator/components/com_newsfeeds/helpers/countitems.php
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
 52 | ERROR | Additional whitespace found at end of file
--------------------------------------------------------------------------------
UPGRADE TO PHP_CODESNIFFER 2.0 TO FIX ERRORS AUTOMATICALLY
--------------------------------------------------------------------------------

@pe7er
Copy link
Contributor Author

pe7er commented May 13, 2015

grrr... 😄
I've changed it and added the new PR.

@hans2103
Copy link
Contributor

@test succes

Tested both desktop and mobile.

@woluweb
Copy link

woluweb commented May 19, 2015

nothing to mention, works fine


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

@zero-24
Copy link
Contributor

zero-24 commented May 19, 2015

Thanks for testing. RTC'ing now!


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

@zero-24 zero-24 added the RTC This Pull Request is Ready To Commit label May 19, 2015
@Kubik-Rubik Kubik-Rubik added this to the Joomla! 3.5.0 milestone May 21, 2015
@coolwebcreations
Copy link

works fine - a hover tooltip on the icons on top of table will be nice


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

@Bakual
Copy link
Contributor

Bakual commented Jun 3, 2015

Merged with a8e866f into 3.5-dev.

Thanks!

@Bakual Bakual closed this Jun 3, 2015
@zero-24 zero-24 removed the RTC This Pull Request is Ready To Commit label Oct 14, 2015
@pe7er pe7er deleted the category-manager-newsfeed-count branch November 5, 2015 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants