Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I could not find any option about this, is VBO integrated with misc/tableselect.js ?
Comment | File | Size | Author |
---|---|---|---|
#6 | views_bulk_operations-shift-click-1845828-6.patch | 2.62 KB | chrisolof |
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedNo.
Comment #2
SebCorbin CreditAttribution: SebCorbin commentedWell, I guess that's a feature request then... I'll try to provide a patch soon.
Comment #3
bojanz CreditAttribution: bojanz commentedComment #4
WorldFallz CreditAttribution: WorldFallz commentedAnyone ever get anywhere with this? There is a jquery plugin we can use https://github.com/nylen/shiftcheckbox or I can just add some jquery directly to the module's jquery.
which method would be preferred for a patch?
Comment #5
gregglesI was surprised to see it's not in VBO. As the original post hints, shift+click is also in Drupal core tableselect.js:
And there's a module at https://www.gaslampmedia.com/views-bulk-operations-shift-click-module/ which adds it using a 3rd party jquery library.
Comment #6
chrisolof CreditAttribution: chrisolof at Lima Solutions for CivicSolar, Inc. commentedAttached patch adds shift-click range selection support to VBO tables via Drupal's Drupal.tableSelectRange() in misc/tableselect.js.
Comment #7
firfin CreditAttribution: firfin commentedApplies cleanly to 7.x-3.5. Code looks good and has the desired effect.
Setting status accordingly.
Comment #8
Dinesh18 CreditAttribution: Dinesh18 at Singapore Press Holdings commented#6 patch looks good to me. +1 to RTBC
Comment #9
Chris Matthews CreditAttribution: Chris Matthews commented