Skip to content

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

Description

@martia-by

&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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions