List pagination not working in backend

laspever

New Member
Hello,

in my Joomla 3.4.8 and fabrik 3.3.4 form pagination doesn't work in backend (all right in front end).
It's the same issue of this thread

github.com/Fabrik/fabrik/issues/1266 (prefix https, I can't save a link)

whose solution

github.com/Fabrik/fabrik/commit/159e1c8cdeabb71f16c867481f2bbc40297c0384

is already applied in Fabrik 3.3.4.
The behaviour is the same with all administrative templates.

Thank you in advance
 
Can't replicate.
Pagination plugin is working fine on my site in backend (form and details view).

What is "not working" - no nav buttons? buttons, but no reaction?
Can you see JS errors in a browser dev console?
 
Hello and thank you.

In the list-view of the backend, the button "view # 5, 10 ...." is inactive (the internale page is ../administrator/index.php?option=com_fabrik&task=list.view&listid=2
the button of pagination (prev - 1 - 2 - 3 ... - succ) bring back to the control panel.
 
This is list pagination, not form pagination.
But I can't replicate either.
Are you using the original Fabrik bootstrap list template?
 
If the nav buttons are taking you to the control panel, I would expect to see Javascript errors on loading the page. Are you seeing any?

-- hugh
 
No, I don't.
Though the url in the address bar isn't that one of the control panel /administrator/index.php but /administrator/index.php?resetfilters=0&clearordering=0&clearfilters=0&limitstart2=125
 
If I manually modify the url from /administrator/index.php?resetfilters=0&clearordering=0&clearfilters=0&limitstart2=125 to
administrator/index.php?option=com_fabrik&task=list.view&listid=2&resetfilters=0&clearordering=0&clearfilters=0&limitstart2=100 (the adding in bold) the correct page is diplayed.
 
That just means the navigation form isn't being submitted. The "missing" args are supposed to get submitted as POST data, as the pagination is done as a form submission. Which pretty much always means something is going wrong with the Javascript init on page load. Have you checked with dev tools in Chrome, or Firebug in FF, made sure you don't see any error msgs as the page loads?


Sent from my Nexus 7 using Tapatalk
 
You're right! I was seeing in another way.

Devtools in Chrome reports 3 errors on loading the Fabrik list.view:

GET
../components/com_fabrik/views/list/tmpl/bootstrap/template_css.php?c=2_com_fabrik_2&buttoncount=3&format=html


Uncaught SyntaxError: Unexpected token :
JSON.decode @ mootools-core.js:172
(anonymous function) @ tipsBootStrapMock-min.js:2
(anonymous function) @ mootools-core.js:5
Array.implement.each @ mootools-core.js:9
Class.attach @ tipsBootStrapMock-min.js:2
e.extend.$owner @ mootools-core.js:38
Class.initialize @ tipsBootStrapMock-min.js:2
(anonymous function) @ mootools-more.js:27e.extend.$owner @ mootools-core.js:38
(anonymous function) @ mootools-core.js:37
(anonymous function) @ index.php?option=com_fabrik&task=list.view&listid=2:1266
i.execCb @ VM888:29
$.check @ VM888:18
(anonymous function) @ VM888:23
(anonymous function) @ VM888:8
(anonymous function) @ VM888:23
v @ VM888:7
$.emit @ VM888:23
$.check @ VM888:19
$.enable @ VM888:23
$.init @ VM888:17
E @ VM888:14
i.completeLoad @ VM888:28
i.onScriptLoad @ VM888:29


Uncaught Error: Load timeout for modules: fab/window-min,fab/list-min
http://requirejs.org/docs/errors.html#timeout
C @ VM888:8D @ VM888:13
(anonymous function) @ VM888:14

and in source panel:
<link rel="stylesheet" href="?/components/com_fabrik/views/list/tmpl/bootstrap/template_css.php?c=2_com_fabrik_2&amp;buttoncount=3&amp;format=html" type="text/css" />
 
Pagination is working on my site.
But I see a similar issue when "grouping" after a page navigation: it's taking me back to the backend start page with no JS error (nor on page load nor during navigation nor on grouping)

@cheesegrits: it's with the latest GitHub
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top