Closed jochenklar closed 5 months ago
I think I would need to add this to the import (https://github.com/rdmorganiser/rdmo/pull/810) afterwards as well
No sorry I don't think we need tests here. The only thing which could be tested is that short_title is used and not title if it is set. I don't want to mess with the fixtures just for that. :confused:
Ah crap and to the export!
yes, I think to have a model field represented in a test fixture should be a minimum or not??
I don't think we need that every time. We need to update the fixtures and the xml files at one point in the future, but not now.
Force push after interactive rebase.
This PR adds a new field
short_title
toSection
andPage
. If set, this field populates the navigation instead of thetitle
which might be to long. See also https://github.com/rdmorganiser/rdmo/issues/363 and https://github.com/rdmorganiser/rdmo/issues/346.