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

&outputSeparator + ajax technology don't work correctly #354

Open
martia-by opened this issue Feb 5, 2023 · 0 comments
Open

&outputSeparator + ajax technology don't work correctly #354

martia-by opened this issue Feb 5, 2023 · 0 comments
Labels

Comments

@martia-by
Copy link

&outputSeparator + ajax technology don't work correctly
pdoPage + pdoResources +ajax

pdoPage
When outputting results through pdoPage, everything works great. However, when trying to load additional search results through ajax (example below), the &outputSeparator is not displayed between the ajax loaded blocks.

        [[!pdoPage?
            &parents=`28`
            &ajaxMode=`button`
            &ajaxTplMore = `@INLINE <button class="btn-more button-fm">Other questions</button>`
            &depth=`0`
            &tpl=`faq_tpl`
            &limit=`3`
            &outputSeparator = `<hr>`
        ]]

::Before ajax (all right) :

result 1 
<hr>
result 2 
<hr>
result 3 

button (btn-more)

::After ajax :

result 1 
<hr>
result 2 
<hr>
result 3 
result 4
<hr>
result 5
<hr>
result 6
result 7
<hr>
result 8
...

button (btn-more)

There is no separator between the 3rd and 4th elements (between ajax results).

@martia-by martia-by added the bug label Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant