This is a problem when you have multiple rows that start with the same letter but you don't want to sort alphabetical. All available weight values are used up (0 to -10) and sorting gets out of whack. The #delta value on the weight FAPI type should be larger... say 50.

Here's a patch against the latest dev release:
--- quicktables.module.orig 2009-04-01 22:33:26.000000000 -0600
+++ quicktables.module 2009-04-01 22:30:47.000000000 -0600
@@ -312,6 +312,7 @@ function quicktables_edit_content_form(&
'#type' => 'weight',
'#default_value' => -$i,
'#attributes' => array('class' => 'row-weight'),
+ '#delta' => 50,
'#prefix' => '

',
'#suffix' => '

',
);

Comments

sign’s picture

Status: Active » Fixed

Committed, thank you.
We might want to make this more flexible later tho.

dharmatech’s picture

Agreed. Just a thought, but it probably needs to be dynamic based on the number of rows for that table.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.