The title callback for 'admin/config/search/search_api/index/%search_api_index',
function search_api_admin_item_title(),
is currently sitting in search_api.admin.inc.
This file is not always included, when a title callback is needed. E.g. when building breadcrumbs.

Therefore the title callback should be moved to the main search_api.module file.

CommentFileSizeAuthor
#4 2700879-4--title_callback.patch970 bytesdrunken monkey

Comments

donquixote created an issue. See original summary.

donquixote’s picture

donquixote’s picture

Maybe other title callbacks need to be reviewed, too.

drunken monkey’s picture

Component: General code » User interface
Category: Task » Bug report
Status: Active » Needs review
StatusFileSize
new970 bytes

Thanks a lot for reporting this! That problem has annoyed me for quite some time now, but never enough to actually go and find out what causes it.
The attached patch seems to fix it – please test!

  • drunken monkey committed 14b90c5 on 7.x-1.x
    Issue #2700879 by drunken monkey: Fixed breadcrumbs on index tabs.
    
drunken monkey’s picture

Status: Needs review » Fixed

Would have been nice to have a second pair of eyes, but I'm quite confident that this doesn't break anything and fixes the problem.
So, committed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.