Hi Kim

> I don't specifically refer to the Place column in the template,
> just use the generic factory templates. Because I don't want to
> display all columns in the table I have the following code:
>
> package Verification::MyData;
> sub display_columns
> {
>     qw(
>     Name
>     Place
>     )
> }
> sub column_names
> {
>     Name => 'Name',
>     Place => 'Place',
> }
>
> The odd thing is if I remove these lines to display all columns, the sorting
> works correctly. The beer example uses all lower case column names,
> could not find any examples of people using column names starting with
> upper case.

That would be your problem then :)

The column names should be lower case, unless you are providing a label / alias.

i.e.
sub column_names
{
     name => 'Name',
     place => 'Place',
}

should work correctly

cheers,

A


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to