? Success

User tests: Successful: Unsuccessful:

avatar smz
smz
25 Dec 2014

Issue: In com_contact the "Items Count" was not displayed in categories list
Cause: Wrong parameter name

avatar smz smz - open - 25 Dec 2014
avatar jissues-bot jissues-bot - change - 25 Dec 2014
Labels Added: ?
avatar smz
smz - comment - 25 Dec 2014

No, that's good.

avatar smz
smz - comment - 25 Dec 2014

and in com_newsfeeds too is OK.

avatar wilsonge
wilsonge - comment - 25 Dec 2014

Categories all have the same param names though. So why is com_content different to everything else?

avatar wilsonge
wilsonge - comment - 25 Dec 2014

So com_newsfeeds and com_contact use one param and com_content and com_weblinks (https://github.com/joomla-extensions/weblinks/blob/master/src/com_weblinks/site/views/categories/tmpl/default_items.php#L31) use a different one?? Something seems really odd here....

avatar smz
smz - comment - 25 Dec 2014

those are the parameters to turn on/off the displaying of items count inside each category when you list all categories. It seems someone some time ago did an odd copy/paste/modify job...

avatar smz
smz - comment - 25 Dec 2014

com_weblink I didn't tested... let me 5 minutes to see...

avatar smz
smz - comment - 25 Dec 2014

com_weblink is wrong: it should be show_cat_num_links_cat

avatar smz
smz - comment - 25 Dec 2014

Basically each components has his own parameter name (why?) and the name for com_contact is anomalous because it doesn't have 'num_contact' but 'items'. The '_cat' at the end of the names is a mystery only the original coder can explain...

avatar smz
smz - comment - 25 Dec 2014

and yes, sorry, com_newsfeeds too has 'items', but it is the same in the .xml file, so it is OK

avatar smz
smz - comment - 25 Dec 2014

Initially it was show_item_count for all, but then... ooops... bfc18c6

avatar smz
smz - comment - 25 Dec 2014
avatar infograf768 infograf768 - change - 25 Dec 2014
Milestone Added:
avatar infograf768
infograf768 - comment - 25 Dec 2014

Beez was OK.
Obvious error. Merging. Thanks.

avatar infograf768 infograf768 - reference | 0cc7016 - 25 Dec 14
avatar infograf768 infograf768 - merge - 25 Dec 2014
avatar infograf768 infograf768 - close - 25 Dec 2014
avatar infograf768 infograf768 - close - 25 Dec 2014
avatar infograf768 infograf768 - change - 25 Dec 2014
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2014-12-25 08:35:58
avatar smz smz - head_ref_deleted - 25 Dec 2014

Add a Comment

Login with GitHub to post a comment