WxT forcing sort on Views tables.

Created on 16 May 2022, about 2 years ago
Updated 26 October 2023, 8 months ago

Problem/Motivation

Is it possible that WxT is forcing column sort on Views tables? Of course that seems silly but i have disabled sorting on my view and yet it remains. Plus, if I switch to BS base theme or Claro it is disabled and then switching to WxT base theme and it is enabled again.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

5.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada liquidcms

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada optasy

    I think I still see this issue on version 5.0.x:

    html/themes/contrib/wxt_bootstrap/templates/views/views-view-table.html.twig:    'wb-tables',
    html/themes/contrib/wxt_bootstrap/templates/views/views-view-table.html.twig:<table{{ attributes.addClass(classes).setAttribute('data-wb-tables', '{ "bPaginate" : false, "bFilter" : false, "bInfo" : false }') }}>
    html/themes/contrib/wxt_bootstrap/templates/calendar/calendar-day-overlap.html.twig:  <table class="wb-tables table full">
    html/themes/contrib/wxt_bootstrap/templates/calendar/calendar-day.html.twig:<table class="wb-tables table full">
    

    I'll look into adding a checkbox in the views config (/admin/structure/views/settings or perhaps at /admin/config/wxt ?) to make this sorting optional.

  • πŸ‡¨πŸ‡¦Canada SKAUGHT

    https://www.drupal.org/project/wxt_bootstrap β†’ is indeed responsible for adding this JS sorting.

    Please open this concern against the theme itself. As for your project, yes if you use the wxt_theme it will alter the View Sorting as expected in this respect. The Wxt Profile builds in the theme as contrib, not internal to the profile base itself.

    "In your site". you can just sub-theme the wxt_theme and handle the views templates as you so more directly need for your site.

  • Status changed to Closed: works as designed 8 months ago
Production build 0.69.0 2024