Project

General

Profile

Actions

Bug #33807

closed

Search record-UID with table-name gives no results

Added by Stefan Neufeind almost 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
-
Start date:
2012-02-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Until 4.4.x it was possible to do a search for "tt_content:1234" in the backend. However since 4.5 you can't prepent the table-name but just search for "1234". This might however return many more undesired search-results.

We've had users taht were used to the search-possiblities with table-names and it can also be commonly found in various documentations.

Actions #1

Updated by Thorsten Kahler almost 13 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Stefan Neufeind

The syntax sligthly changed: you have to prepend a "#" if you want to search in distinct tables. Did you try "#content:1234" as search term?

Actions #2

Updated by Stefan Neufeind almost 13 years ago

Works. Thank you for the quick feedback. I also looked in the relevant pieces of code (for completeness attached below). Is that documented somewhere? Or would (and how/where) a documentation-update on this make sense?

Query parsed/split into parts:
t3lib/search/class.t3lib_search_livesearch_queryParser.php
Search done here:
t3lib/search/class.t3lib_search_livesearch.php

The standard-commandkeys (page + content) are defined in:
typo3/sysext/cms/ext_localconf.php

// register search keys
$GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['page'] = 'pages';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['content'] = 'tt_content';
Actions #3

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF