Comics should be sorted differently?

Jens Seidel jensseidel at users.sf.net
Fri Mar 23 02:06:02 MDT 2007


On Fri, Mar 23, 2007 at 03:36:37AM +0000, Steve Juranich wrote:
> Steve Juranich <sjuranic at ...> writes:
> > It sounds like a neat trick, but I see a couple of problems.
> > 
> > First, the "Title" field is not editable from the GUI.  I'd have to (again) 
> > hack the code in order for this to work.
> > 
> > Secondly, as I understand how the software works, this would sort the issue
> > numbers lexicographically, not numerically.  So issue 12 would come before 
> > issue 2 (for instance).  I could be totally mistaken on this count, however.
> 
> Okay, sorry for responding to my own post here, but I did figure out how to
> unzip the .tc file, edit the tellico.xml appropriately, and then zip it back up
> to make the Title field a "Dependent" field.

This is not necessary. You can directly edit the Title field. It is just not
possible to delete it. (I verified this at least for stamps, but I think
I tried it also for other types of collections.)
 
> But (as I suspected) the field is sorted lexicographically, so issue 12 does
> indeed come before issue 2.

Yes, the sorting for dependent types is currently wrong. Maybe I will
fix it (but I really do not have a lot of spare time). A dependent field
consisting of multiple fields should respect the individual field type
for sorting. I also miss sometimes a real number field, so that I use
text fields for real numbers which sorts of course also wrong.
 
> I tried something like setting the description to '%{issue}03d', but that didn't
> work at all.

Hhm, support for format options similar to printf would be a nice
feature. But it should not limit the usable text (can % be escaped
for title fields)?

Jens



More information about the tellico-users mailing list