Sunday, May 8, 2016

A little change for Lino Voga in column_names of lino_voga.projects.roger.lib.courses.Pupils. And some translations were missing.

And another change request turned out to be more tricky: they want ActivitiesByTopic to show only active courses. But adding this condition to param_defaults did not have any effect. That was because lino_xl.lib.courses.ui.ActivitiesByTopic redefined get_request_queryset without calling super(). And actually the “good” method for doing what this table wants to do (namely to link to a remote field on the master instead of linking directly to the master) is to write a custom get_filter_kw method.