Hi, Thanks for this wonder full module.

I have started to use this module for my requirement. I have successfully setup and enable this feature and works great.
But when I enable to the sorting of fields in table on click of the table header for sorting on first loading of page.
All the check boxes by default unchecked and table columns empty and no results display.

These issue occurs when the Use ajax is enabled in the views.

Please let me know if you need any further details to reproduce the issue.

Thanks!

CommentFileSizeAuthor
#7 views_fields_on_off_sorting.mp46.77 MBandileco
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

AnokR created an issue. See original summary.

ilya.no made their first commit to this issue’s fork.

ilya.no’s picture

Status: Active » Needs review

I have the same problem. I've created a MR in order to fix the issue. Logic of my update is following - if there is an indicator, that options are submitted, but options themselves are absent from query param, then return empty array in order to avoid hiding all fields.

bluegeek9 made their first commit to this issue’s fork.

bluegeek9 changed the visibility of the branch 2.0.x to hidden.

andileco’s picture

Status: Needs review » Needs work
StatusFileSize
new6.77 MB

Hi! This is mostly working well, except in the case where the field plugin is used and the "Enable fields by default" is checked. In that case, the sort removes the selection (for checkboxes or multi-select), although the fields stay in place. Please see the attached video.