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

Pagination not working on page form menu item with similar tags #4339

Closed
jjnxpct opened this issue Sep 24, 2014 · 17 comments
Closed

Pagination not working on page form menu item with similar tags #4339

jjnxpct opened this issue Sep 24, 2014 · 17 comments

Comments

@jjnxpct
Copy link

jjnxpct commented Sep 24, 2014

Steps to reproduce the issue

  • Create a number of articles (more then 5) and give them the same tag.
  • Create a menu item 'Tagged Items', show pagination on, Item selection option -> Max items 5.
  • Click on the menu item in the frontend
  • Click on page 2, or 'next' in the pagination.

Expected result

The next page should be shown.

Actual result

The current (start) page is shown.

System information (as much as possible)

Joomla 3.3.4.
Also tried this with the Beez3 template.

Additional comments

Related to this?
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30453

@brianteeman
Copy link
Contributor

Thanks for reporting this. This has already been reported and a fix proposed here http://issues.joomla.org/tracker/joomla-cms/4331

This comment was created with the J!Tracker Application at http://issues.joomla.org/.

@jjnxpct
Copy link
Author

jjnxpct commented Sep 24, 2014

Hi brianteeman,

When I look at the link for the fix you provide I see an item with the title:

"Fixing com_content ACL to restore "Save as Copy" and "Save & New" buttons".

So how is that related to my reported issue?

@jjnxpct jjnxpct changed the title Pagination not working on page form menu item with similar tags Pagination not working on page from menu item with similar tags Sep 24, 2014
@Bakual
Copy link
Contributor

Bakual commented Sep 24, 2014

@jjnxpct Brian took the wrong PR, this one is the correct one: #4330. But it may also be a different issue, since it doesn't sound exactly the same.

@jjnxpct
Copy link
Author

jjnxpct commented Sep 24, 2014

OK, thanks. I wanted to try the patch with the Joomla Patch tester component. Never done that before. Unfortunately the component does not work on the site I am working on because "The OpenSSL extension must be installed and enabled in your php.ini. https wrappers must be enabled". It's on a windows server (...). I will ask the server administrator to make use of this component possible.

There is a difference with the #4330 issue. That issue is about the com_content category view. Not the taglist view. So I am not sure if the patch will work to resolve the issue.

But I'm not able to test the patch right now. I'll try and do this later.

@Bakual
Copy link
Contributor

Bakual commented Sep 24, 2014

If you can edit the files yourself, you can have a look at the Files changed tab (https://github.com/joomla/joomla-cms/pull/4330/files) in the PR. It will show you the change. In this case it's only one line which is changed. red means the line is removed and green is added.

@jjnxpct
Copy link
Author

jjnxpct commented Sep 24, 2014

I just tested a article blog view with some test articles. I created a menu item type 'Category Blog'. On this page the pagination is also not working. So it seems to me these things are related and the patch might fix this.

Is there an other way to apply the patch apart from the Joomla Patch tester? And how am I able to check if this issue is fixed in a next release of Joomla? Im new to the testing / patches / 'workflow...

@jjnxpct
Copy link
Author

jjnxpct commented Sep 24, 2014

Thanks Bakual!

@jjnxpct
Copy link
Author

jjnxpct commented Sep 24, 2014

I applied the patch manually (just the one line in legacy.php) but this did not result in getting the pagination to work. Not on the category blog view nor on the taglist view...

The issue #4330 mentioned: "As soon as you change the page, the pagination vanishes.". This is not the same as the pagination not working at all. So I guess this is a different issue?

@jjnxpct
Copy link
Author

jjnxpct commented Sep 24, 2014

Hi! I'm getting closer to identifying the problem. When I turn off URL rewriting in the Global configuration the paginations works! So I guess this issue is caused by the server settings (Windows Sever) somehow. I will take this up with the server administrator. Thanks for the help so far!

@brianteeman brianteeman changed the title Pagination not working on page from menu item with similar tags Pagination not working on page form menu item with similar tags Sep 25, 2014
@brianteeman brianteeman reopened this Sep 25, 2014
@dneukirchen
Copy link
Contributor

Tested as described. Cant confirm the issue.
Joomla! 3.3.4 Stable
PHP 5.5
Apache/2.4.10 (Ubuntu)
Joomla SEF URLs on and off

This comment was created with the J!Tracker Application at http://issues.joomla.org/.

@garkell
Copy link

garkell commented Sep 28, 2014

Hi, I'm having a problem with pagination in my component between J3.3.3 (working) and J3.3.4 (backward links not working). I'm not sure if this related here or not, so yell if you want a new item raised.

I noticed in the URL of the pagination links that in J3.3.4 there is no longer a "limitstart=n" parameter? Could this be the issue? Cheers.

PHP 5.4.3
Apache 2.4.2
MySQL 5.5.24
SEF URLs off


This comment was created with the J!Tracker Application at http://issues.joomla.org/.

@jjnxpct
Copy link
Author

jjnxpct commented Oct 6, 2014

The pagination bug I experience is also happening on article blog pages. And because turning off the URL rewriting in the Global configuration seems to solve the problem I suspect that this issue is caused by the IIS (windows server) configuration. I'm just not sure if this is a bug of a configuration issue. Can anyone confirm this pagination problem on a windows server (with URL rerwriting on) and the latest Joomla version? Thanks.

@ColinM2
Copy link

ColinM2 commented Oct 7, 2014

I have very similar sounding problem in #4472 . Running a test site, nothing was changed except up date from 3.3.3 to 3.3.6 so not convinced it is anything to do with server. Noticed others in jDownloads forum had spotted 'challenge' when going to 3.3.4

@ColinM2
Copy link

ColinM2 commented Oct 7, 2014

Tried test case, tag list, as defined by @jjnxpct. It worked as expected in 3.3.7 dev but not working in jDownloads component. Also OK in categories list. Conclude that faults are different.

@jjnxpct
Copy link
Author

jjnxpct commented Oct 8, 2014

Hi, I found out that whren you replace the 'start=' part of the pagination URL with 'limitstart=' the pagination works OK. I also commented about this on #4393. I have no idea why this is or how this is caused and if this is related to other issues. But my fix for now is to use jQuery to change the pagination link URL's:

jQuery("div.pagination a").each(function() {
var value = jQuery(this).attr('href');
jQuery(this).attr('href', value.replace('start','limitstart'));
});

@brianteeman
Copy link
Contributor

I can no longer recreate this issue. I am assuming it has been resolved elsewhere and am closing this. If you feel this is still an issue with the current release of Joomla it can always be re-opened


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

@Disaron
Copy link

Disaron commented Nov 17, 2015

Joomla! 3.4.5
Users manager.
Apply filter (by groups for example).
Pagination not working.

I see that state list.start can be empty after calling JModelList::populateState() method even I set this state in populateState by not null value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants