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

tvFilters and pagination problem #95

Open
pawelmil opened this issue Nov 15, 2014 · 0 comments
Open

tvFilters and pagination problem #95

pawelmil opened this issue Nov 15, 2014 · 0 comments

Comments

@pawelmil
Copy link

When iI use [[!getPage call and tvFilters then output is blank. Using [[getPage and tvFilters and causes pagination problem (pagination links disappear)
My debug output of cached call:
(ERROR @ /index.php) SELECT modResource.id, modResource.type, modResource.contentType, modResource.pagetitle, modResource.longtitle, modResource.description, modResource.alias, modResource.link_attributes, modResource.published, modResource.pub_date, modResource.unpub_date, modResource.parent, modResource.isfolder, modResource.introtext, modResource.richtext, modResource.template, modResource.menuindex, modResource.searchable, modResource.cacheable, modResource.createdby, modResource.createdon, modResource.editedby, modResource.editedon, modResource.deleted, modResource.deletedon, modResource.deletedby, modResource.publishedon, modResource.publishedby, modResource.menutitle, modResource.donthit, modResource.privateweb, modResource.privatemgr, modResource.content_dispo, modResource.hidemenu, modResource.class_key, modResource.context_key, modResource.content_type, modResource.uri, modResource.uri_override, modResource.hide_children_in_tree, modResource.show_in_tree, modResource.properties FROM site_content AS modResource WHERE ( ( modResource.parent IN (86,112,110,109,108,104,123,111,124,121) AND modResource.deleted = 0 AND modResource.published = 1 AND modResource.hidemenu = 0 ) AND (EXISTS (SELECT 1 FROM site_tmplvar_contentvalues tvr JOIN site_tmplvars tv ON tvr.value LIKE 'tak' AND tv.name = 'wyswietl-agroexpert' AND tv.id = tvr.tmplvarid WHERE tvr.contentid = modResource.id) OR EXISTS (SELECT 1 FROM site_tmplvars tv WHERE tv.name = 'wyswietl-agroexpert' AND tv.default_text LIKE 'tak' AND tv.id NOT IN (SELECT tmplvarid FROM site_tmplvar_contentvalues WHERE contentid = modResource.id)) ) ) ORDER BY publishedon DESC LIMIT 8, 4

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

No branches or pull requests

1 participant