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 / Sorting not working #268

Closed
mounish opened this issue Dec 29, 2016 · 7 comments
Closed

Pagination / Sorting not working #268

mounish opened this issue Dec 29, 2016 · 7 comments

Comments

@mounish
Copy link

mounish commented Dec 29, 2016

Hello Team,

I have installed the plugin on base magento 2.1.2 EE with sample data, and installed elasticsuite plugin and it worked perfectly.

Followed the same steps on my website which already has few customizations and theme design done. The plugin works well loading the search results and listing the category products.

But while i try to go to page 2 : it shows no We can't find products matching the selection.

Also sorting doesnt work.

No major customization except few design changes have been done to catalog part.

Have even disabled Category / Product flat tables still no luck.

Unable to start debugging or not getting idea of how to sort it.

Can anyone help out sorting the issue ?

Regards
Mounish

@mounish mounish closed this as completed Dec 29, 2016
@mounish mounish reopened this Dec 30, 2016
@mounish
Copy link
Author

mounish commented Dec 30, 2016

Hello Team,

Please if anyone can help on the same ?

@Koc
Copy link
Contributor

Koc commented Jan 3, 2017

@mounish see #249, looks like this is same issue

@afoucret
Copy link
Contributor

afoucret commented Jan 4, 2017

Hi @mounish,

@Koc is right, this is a duplicate of #249.
You need to pay attention about design update and especially about the toolbar block modifications.
You can read the full detail in #249 but it is not related with ElasticSuite but with Magento.

As being a duplicate and not related to ElasticSuite, I close this one.

@afoucret afoucret closed this as completed Jan 4, 2017
@mounish
Copy link
Author

mounish commented Jan 4, 2017

Hello Team,

Cracked the issue today in morning.

We had done a small customization in 2column-left.xml to display the layered navigation on top instead of bottom. Which was the actual culprit. We reverted that from before to after and module started working fluently.

Thanks for the help.

Regards
Mounish

@arulkec
Copy link

arulkec commented Feb 6, 2020

I also have the same issue can you please update what changes need to do?

@mounish
Copy link
Author

mounish commented Feb 6, 2020

@arulkec :

We had done a small customisation in 2column-left.xml to display the layered navigation on top instead of bottom. Which was the actual culprit. We reverted that from before to after and module started working fluently.

Try reverting the changes to base Magentos settings it should help you !

@arulkec
Copy link

arulkec commented Feb 6, 2020

Thank you for reply
This is my 2column-left.xml.I am struggling for past 1week. Can you help me out what to chnage

<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
    <container name="root">
        <container name="after.body.start" as="after.body.start" before="-" label="Page Top"/>
        <container name="page.wrapper" as="page_wrapper" htmlTag="div" htmlClass="page-wrapper">
            <container name="global.notices" as="global_notices" before="-"/>
            <container name="main.content" htmlTag="main" htmlId="maincontent" htmlClass="page-main container">
                <container name="columns.top" label="Before Main Columns"/>
                <container name="columns" htmlTag="div" htmlClass="columns layout layout-1-col row">
                    <container name="main" label="Main Content Container" htmlTag="div" htmlClass="col-main col-lg-9 col-md-9 col-sm-9 col-xs-12" after="-"/>
                </container>
            </container>
            <container name="page.bottom.container" as="page_bottom_container" label="Before Page Footer Container" after="main.content" htmlTag="div" htmlClass="page-bottom"/>
            <container name="before.body.end" as="before_body_end" after="-" label="Page Bottom"/>
        </container>
    </container>
    <referenceContainer name="page.wrapper">
        <container name="header.container" as="header_container" label="Page Header Container"  htmlTag="header" htmlClass="header-container header header-default" before="main.content"/>
        <container name="slideshow.container" as="slideshow_container" label="Slideshow Container" after="header.container"/>
        <container name="page.top" as="page_top" label="After Page Header" after="header.container"/>
        <container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer footer default" />
    </referenceContainer>
    <referenceContainer name="columns">
		<container name="col.left.sidebar" label="Col Left Sidebar" htmlTag="div" htmlClass="col-lg-3 col-md-3 col-sm-3 col-xs-12">
			<container name="div.sidebar.main" htmlTag="div" htmlClass="sidebar sidebar-main-1" before="main">
				<container name="sidebar.main" as="sidebar_main" label="Sidebar Main"/>
			</container>
			<container name="div.sidebar.additional" htmlTag="div" htmlClass="sidebar sidebar-additional1 hidden-xs" after="div.sidebar.main">
				<container name="sidebar.additional" as="sidebar_additional" label="Sidebar Additional"/>
			</container>
        </container>
    </referenceContainer>
</layout>

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

4 participants