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

Fixes listing of "All" categories (#4937) #5469

Closed
wants to merge 5 commits into from

Conversation

smz
Copy link
Contributor

@smz smz commented Dec 19, 2014

For issue description please see #4937

This first commit is just a kludge (or is it a nice hack?) equating the value of the option for "All" categories (-1) to the really big int 2147483647 (the biggest representable in 32bit PHP compiles)

For issue description please see joomla#4937

This first commit is just a kludge (or is it a nice hack?) equating the
value of option for "All" categories (-1) to the really big int,
2147483647 (the biggest representable in 32bit PHP compiles)
Made it more failsafe and gave it a more serious appearance
When expanding/collapsing categories, toggle the button from '+' to '-'
@infograf768
Copy link
Member

This works fine here.
remains to do the js for the other core components (weblinks should be done in its own repo)

@smz
Copy link
Contributor Author

smz commented Dec 19, 2014

Ah, yes, you're right... Will look for which other components we have similar views and fix those too...

What about the string talking about "Subcategoires"?

@smz
Copy link
Contributor Author

smz commented Dec 19, 2014

PR for weblinks is joomla-extensions/weblinks#21

@infograf768
Copy link
Member

Thanks. Let's leave the string alone imho.

One more tester.

@richard67
Copy link
Member

@smz @infograf768 I just have tested with success for com_content and com_contact, but not for com_newsfeed. Can this be regarded as successful test of this PR?


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

@richard67
Copy link
Member

@smz @infograf768 P.S.: I mean I just did not test for com_newsfeeds, so I don't know if for these it is ok, too, or not. But a code review should show that the changes for these are the same as the (succesfully tested) changes for com_content and com_contact, so maybe my test is sufficient.


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

@richard67
Copy link
Member

@test Tested now with success for com_content, com_contact and com_newsfeeds.
@smz It would be perfect if there was some tool tipp telling what the new +/- button is good for, if this is not Joomla! standard somehow so it is clear or not mentioned in docmuments.


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

@smz
Copy link
Contributor Author

smz commented Dec 20, 2014

@richard67 Richard, it is good that you tested this patch with com_contact and com_newsfeed too as... I actually didn't!! 😄

The tooltip Idea IMHO is a good one, but probably I will write it down in the "TODO" list and leave it for the next fix release (so much to do now...)

<rant>I think com_contact and com_newsfeeds should burn in the JED hell together with com_weblinks. I think this is planned for 3.5 (but I may be wrong...). As far as regards com_newsfeeds I'm really tempted to plant a major bug in it and see what happens! Maybe a totally broken front-end functionality and, in the back-end, a jester popping out from the screen saying "Gotcha! This is a trick... press the button here below to restore full functionality!" Of course the button should also ping a joomla.org server so we can tally how many in the fields are actually using this... Am I too mean?</rant>

@richard67
Copy link
Member

@smz Just a question: What do these "rant" tags mean? ;-)

@smz
Copy link
Contributor Author

smz commented Dec 20, 2014

@richard67 a rant... is vehement protest! 😜

@richard67
Copy link
Member

@smz Seems the issue tracker does not support this tag yet or is is meanwhile HTML5-Standard? 😜

@smz
Copy link
Contributor Author

smz commented Dec 20, 2014

ehehehheheheh!! HTML6!!!

@infograf768 infograf768 added this to the Joomla! 3.4.0 milestone Dec 21, 2014
@infograf768
Copy link
Member

Thanks. Merged.

@smz
Copy link
Contributor Author

smz commented Dec 21, 2014

@infograf768 There is something strange with this merge: I see it as "Closed" (not "Merged") and I also have this message:

Closed with unmerged commits
This pull request is closed, but the smz:CategoriesLevelAll branch has unmerged commits.

@richard67
Copy link
Member

@smz I see the same for my PR #5331 . Checking with staging has shown that merge was ok, and for your PR here it seemded, so, too (brief check only with bcompare). Unmerged commits could be in my case some in the middle of work for code style. So I am only confused about status = closed and not merged, but not about the unmerged commits.

@smz
Copy link
Contributor Author

smz commented Dec 21, 2014

... I'm pretty sure I didn't make any mod/sync to this branch... curious....

@richard67
Copy link
Member

well, my mistake, have corrected my comment above meanwhile in github but issue tracker might show still old version. was not synch commits i had, was code style stuff for travis. maybe these intermediate steps have not been counted as comitted somehow and so make this strange unmerged commits message?

@Bakual
Copy link
Contributor

Bakual commented Dec 21, 2014

That message means the PR got merged, but not directly as a merge-commit. Instead we pulled the commits and squashed them, and then commited.
You can see the resulting commit here: cf88e6b

@smz smz deleted the CategoriesLevelAll branch December 21, 2014 21:49
Harmageddon added a commit to Harmageddon/joomla-cms that referenced this pull request Sep 16, 2015
This is an adaption of joomla#5469 for the category view.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants