Donations and sorting problems

Robby Stephenson robby at periapsis.org
Fri Jul 7 18:34:13 MDT 2006


On Saturday 01 July 2006 19:40, Meerschwein wrote:
> I'm very pleased about what Tellico can do for my collection and I would
> like to donate, but I cannot find any info about how to. If you don't
> need or like money, maybe you have a charity you would like to be
> supported. Please let me know.

Gee, thanks! Let me muse on that a bit, I suppose a paypal button or amazon 
wish-list link would work. And the charity idea is cool. Thanks very much!

> - I have some rating columns of type "number" with a range from 1 to 10.
> When sorted low to high, everything is ok, but when sorting high to low,
> it seems to sort alphabetically instead of arithmetically, since 9
> becomes the highest while 10 is moved way down to the bottom.

The JS tries to be smart about the comparison function by looking at the 
contents of the first row. I think what's going on is that sorting 
high-to-low means there's a blank field at top already, and so a 
straight-up string comparison gets used.

> - Some of the fields in the "published" column (a year of type "number")
> are formatted centered, some are flushed left. No big deal, but strange.

Very odd, I have no idea why that gets generated so. Hmmm...

> - For the single entry pages, Tellico grabs my desktop colours and slaps
> them on the exported html, but the list itself keeps its default colors.
> I'd prefer it to be homogeneous.

The single entry page is going to use your entry template setting which is a 
separate template form the HTML export. Some of the templates use fixed 
colors and some don't.

I really need to scrub the HTML export and see if I can clean it up and get 
these issues fixed. I think that I can hard-code the sorting function 
during the export, rather than trying to use JS to figure it out, at 
run-time. That'll be my first thing.

Thanks for your email!
Robby



More information about the tellico-users mailing list