Project

General

Profile

Actions

Bug #83813

closed

No search for sys_file_metadata

Added by schmitz no-lastname-given about 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-02-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
search, sys_file_metadata
Complexity:
Is Regression:
Sprint Focus:

Description

AT TCA you can find defined search fields for the meta data of files, but you can not find files searching for meta data.

sys_file: 'searchFields' => 'name, type, mime_type, sha1'
sys_file_metadata: 'searchFields' => 'file,title,description,alternative'
Actions #1

Updated by Guido Schmechel almost 6 years ago

Some research (current master)

File: Search/LiveSearch/LiveSearch.php
findByGlobalTableList() checks all given tables. "if no access for the table (read or write) or table is hidden, skip this table"
sys_file_metadata has the option hideTable = true and this table is skipped.

To clarify
Is this a wanted behavior for sys_tables?

Actions #2

Updated by Riccardo De Contardi almost 6 years ago

  • Description updated (diff)

I've corrected the description from

AT TCA you can find defined search fields for the meta data of files, but you can find files searching for meta data.

to

AT TCA you can find defined search fields for the meta data of files, but you can not find files searching for meta data.

Actions #3

Updated by Susanne Moog about 4 years ago

  • Status changed from New to Closed

Yes, this is wanted behaviour. The search uses the list module to display results and that reacts to the configuration of which tables to display - if you remove the hide table from TCA those records are actually found. I'm going to close the issue now, as this is not a bug. However, if someone wants to implement an addition to the search to be able to search and display files (and metadata) in a separate view, please feel free to do so.

Actions

Also available in: Atom PDF