Views with responsive table display no longer works

Created on 17 December 2017, about 7 years ago
Updated 27 November 2023, about 1 year ago

I have the Bootstrap theme with the responsive table option enabled.

When I create a view with the table view, the table is responsive.

If I change the display with Bootstrap Table, the array is not responsive (even if the adaptive box is checked).

πŸ› Bug report
Status

Needs work

Version

5.4

Component

Code

Created by

πŸ‡«πŸ‡·France zenimagine

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.

  • πŸ‡ΊπŸ‡ΈUnited States yospyn

    In Drupal 10 using either 5.4 or 5.5 alpha I'm getting a PHP error using this patch, so had to remove it:

    DivisionByZeroError: Modulo by zero in template_preprocess_views_view_grid() (line 720 of /app/web/core/modules/views/views.theme.inc).

    Tables work well, but if I was using something besides tables for the view display it would break (such as a grid).

  • πŸ‡ΊπŸ‡ΈUnited States j_s

    Same issue as reported by 12: patch #11 produces a white-screen fatal error regarding a modulo by zero using Drupal 10.2.3 and Views Bootstrap 5.4.0.

    A warning also comes up:

    Warning: Undefined array key "alignment" in template_preprocess_views_view_grid() (line 715 of core/modules/views/views.theme.inc).

  • πŸ‡¬πŸ‡§United Kingdom joehuggans Harrogate, UK

    Do we need the template_preprocess_views_view_table preprocessing for the views_bootstrap_grid hook?

    Because it seems to work without these, but I haven't tested with Grids extensively.

    Please test this patch - Drupal 10.3.6

Production build 0.71.5 2024