TagTree Show file name for tag_title [UNTAGGED] BugFix
limit result to tags that only show <UNTAGGED> Change-Id: I56ff4ea8c5a17df806d69d58599a9a88f8acc4b0
This commit is contained in:
parent
06f0465158
commit
dd1fbd51fc
1 changed files with 2 additions and 2 deletions
|
@ -1578,8 +1578,8 @@ static int retrieve_entries(struct tree_context *c, int offset, bool init)
|
||||||
|
|
||||||
if (strcmp(tcs.result, UNTAGGED) == 0)
|
if (strcmp(tcs.result, UNTAGGED) == 0)
|
||||||
{
|
{
|
||||||
if (tag == tag_title) /* Fallback to filename */
|
if (tag == tag_title && tcs.type == tag_title && tcs.filter_count <= 1)
|
||||||
{
|
{ /* Fallback to filename */
|
||||||
char *lastname = dptr->name;
|
char *lastname = dptr->name;
|
||||||
dptr->name = core_get_data(c->cache.name_buffer_handle)+namebufused;
|
dptr->name = core_get_data(c->cache.name_buffer_handle)+namebufused;
|
||||||
if (tagcache_retrieve(&tcs, tcs.idx_id, tag_filename, dptr->name,
|
if (tagcache_retrieve(&tcs, tcs.idx_id, tag_filename, dptr->name,
|
||||||
|
|
Loading…
Reference in a new issue