Closed (won't fix)
Project:
Services Views
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2010 at 15:47 UTC
Updated:
25 Sep 2013 at 03:22 UTC
You'll need to fix this by changing lines 35 - 41 of views_service.inc from
if (!empty($limit)) {
$view->set_use_pager(TRUE);
}
else {
// Disable the user pager.
$view->set_use_pager(FALSE);
}
to
if (!empty($limit)) {
$view->set_use_pager = TRUE;
}
else {
// Disable the user pager.
$view->set_use_pager = FALSE;
}
Comments
Comment #1
marcingy commentedPostponing in light of http://drupal.org/node/709100
Comment #2
gddI don't see how this can be a problem in 6.3 since 6.3 does not have views service. I also don't want to do any changes to views service for Views 3 since we are deprecating it, it just seems like a waste of time and the code is just going to get more complicated. For instance your change above fixes this problem for Views 3 but breaks it for Views 2.
So basically I'm closing this and any other issues that are not bugs in the current service for Views 2.
Comment #3
gddMoving this to the new Services Views project for consideration there.
Comment #4
vishun commentedThis approach appears to work for both Views 2 and Views 3
Comment #5
Renee S commentedThanks, @vishun and @RasputinJones, that did it for me - I'm still on Services2 but with Views3, this corrects the error I was getting.
Comment #6
newnewuser commented@vishun code works for me. View3, Service2. Thanks a lot.
Comment #7
vishun commentedJust a quick revision
Comment #8
sibiru commentedI have problem paging for 7.x version with Views3 any clue how to fix this?
thanks
Comment #9
marcingy commentedPlease create a new issue rather re-opening a very old issue,