dependent field sorting

Robby Stephenson robby at periapsis.org
Mon Apr 16 00:09:29 MDT 2007


On Friday 13 April 2007, Jens Seidel wrote:
> I wonder why you first check for title formatting instead of dependent
> fields when creating a ListViewComparison. But it seems it is not
> possible to enable title formatting for dependent fields so it is OK.

Valid point, though. I switched it around to check for dependency first.

> Also sorting groups in the left 
> widget does not yet respect dependent fields.

I believe I have that working, if you want to check again. I just moved the 
comparisons up to a parent class.

> I also tried to create a report to test sorting there too and noticed
> that sorting is not yet fixed there.

Completely different ball of wax there, unfortunately. The sorting is all 
done in the XSL file. It would be quite a mess there to parse Dependent 
fields. It would probably be easier to rewrite the report generator to sort 
in the C++ and just output in the XSL in document order.

> I selected "three column" report, waited two minutes until tellico
> processed the collection and got finally: "This template is only
> suitable for video collections". You can do it better: first check this
> before you start processing data!

It's a warning in the XSL file itself. The report generator doesn't know 
anything about the Tri-Column only working for videos. It just shows 
whatever the output is. So the real problem is that the XSL is so 
inefficient that it takes two minutes to decide it can't process anything!

Robby



More information about the tellico-users mailing list