TOC element displays empty line if a doc or folder doesn't have a title

Bug #101412 reported by Kit Blake
4
Affects Status Importance Assigned to Milestone
Silva
Fix Released
Medium
Andy Altepeter

Bug Description

If no title exists it should fall back to the id, so there is something to click.

More fun would be to insert a hysterical warning: "No title! Author Name did
it!! Inform the webmaster!!!"
;^)

Revision history for this message
Andy Altepeter (aaltepet) wrote :

This is fixed as of Silva 2.0, due to my AutoTOC refactoring into the tocrendering adapter.
title = (public and item.get_title() or item.get_title_editable()) or item.id

Changed in silva:
assignee: nobody → aaltepet
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.