Skip to content

Include filters in pagination slider form #10

@hkdobrev

Description

@hkdobrev

The pagination links are including the existing query string. However the pagination slider form is not. IMHO this is a bug, because you have no use of such pagination.


Including URL::query() to the form action would not change a thing. In the HTML5 standard the query string from the form action is stripped out when its method is GET and have some form inputs.

Let query be the result of encoding the form data set using the application/x-www-form-urlencoded encoding algorithm, interpreted as a US-ASCII string.

Set parsed action's query component to query.

Source: http://www.w3.org/html/wg/drafts/html/master/forms.html#form-submission-algorithm 4.10.22.3 > step 18. > "Mutate action URL".


I guess the solution should iterate the current query and include a hidden input for every parameter preceding the current inputs.

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