I have a simple D7 view that lists all usernames and a couple of associated fields (business name, contact name) in table format. It has exposed filters on those fields, and about 200 users to list, sorted by creation date.
In Page View, this works perfectly as expected : I can page through a list of active users, and filter them.
However, when I try to embed the same view as a block, it displays only 6 results and no pager or exposed fields.
I've changed the pager ID - didn't help. I changed the pager ID on the other block shown with this one, too. I have no contextual filters or relationships set up. I tried changing to 'show all results' without a pager - still just those six results.
Any thoughts on where to start looking to fix this?
ETA I checked the queries being run, and as suggested, they turn out to be different in page view to block view.
This is my page view query:
SELECT users.name AS users_name, users.uid AS uid, users.status AS users_status,
users.created AS users_created, 'user'
AS field_data_field_business_name_user_entity_type
FROM
{users} users
WHERE (( (users.status <> '0') ))
ORDER BY users_created DESC
LIMIT 30 OFFSET 0
But my block view query is different, all the exposed filters are applied, and I can't change them:
SELECT users.name AS users_name, users.uid AS uid, users.status AS users_status,
users.created AS users_created, 'user'
AS field_data_field_business_name_user_entity_type
FROM
{users} users
LEFT JOIN {field_data_field_business_name} field_data_field_business_name
ON users.uid = field_data_field_business_name.entity_id AND
(field_data_field_business_name.entity_type = 'user' AND
field_data_field_business_name.deleted = '0')
LEFT JOIN {field_data_field_contact_name} field_data_field_contact_name
ON users.uid = field_data_field_contact_name.entity_id
AND (field_data_field_contact_name.entity_type = 'user'
AND field_data_field_contact_name.deleted = '0')
WHERE (( (users.status <> '0') AND
(field_data_field_business_name.field_business_name_value LIKE '%%' ESCAPE '\\')
AND (field_data_field_contact_name.field_contact_name_value LIKE '%%' ESCAPE '\\') ))
ORDER BY users_created DESC
LIMIT 30 OFFSET 0