Closed (fixed)
Project:
Views tablesorter
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
1 Jun 2010 at 05:45 UTC
Updated:
19 Aug 2010 at 12:40 UTC
Your style plugin class looks nearly the same then the default table class.
If you extend views_plugin_style_table you could save quite a amount of code.
Comments
Comment #1
rooby commentedI considered this before and during making this module and I actually had it that way at the start but I was a bit torn.
I had a couple of reasons why I thought it might be better to do it this way but since having another look now (and more sleep) and writing them here I don't think they are so valid (plus I found a bit of a bug :))
So yeah, even though it will mostly be overridden I agree it will be better that way.
It also make more sense.
Comment #2
dawehnerok, if you think so.
Comment #3
rooby commentedSorry, sometimes I'm a little unclear with my posts.
What my reply was meant to say it that I agree with you and I will be changing it when I get a chance.
Comment #4
dawehnerAh ok. Thats fine :)
Comment #5
rooby commentedI have changed this now in dev.
http://drupal.org/cvs?commit=402670
Comment #6
rooby commentedOops, now it's committed to the 6 branch.
http://drupal.org/cvs?commit=402732