Bug #64904
closedindexed search experimental advanced search is not working
Added by Tymoteusz Motylewski almost 10 years ago. Updated about 6 years ago.
100%
Updated by Gerrit Code Review almost 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36713
Updated by Tymoteusz Motylewski almost 10 years ago
- Sprint Focus set to Stabilization Sprint
Updated by Tymoteusz Motylewski almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c0eef29ef160707f1e2faa5b4f54969779f93db0.
Updated by Gerrit Code Review over 9 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38661
Updated by Tymoteusz Motylewski over 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 3febc799c9fe87f49ff8103f59be9cbcdc539a3d.
Updated by André Steiling about 9 years ago
Hello there,
the advanced search delivers results, but what about the advanced search options? They aren't in the result, because action "search" is called and "search" doesn't have the routine to assign these options, isn't it?
Routine in action "form" - it doesn't appear in action "search", so the advanced options are gone after submit: if ($search['extendedSearch']) {
// "Search for"
$allSearchTypes = $this->getAllAvailableSearchTypeOptions();
$this->view->assign('allSearchTypes', $allSearchTypes);
$allDefaultOperands = $this->getAllAvailableOperandsOptions();
$this->view->assign('allDefaultOperands', $allDefaultOperands);
$showTypeSearch = count($allSearchTypes) || count($allDefaultOperands);
$this->view->assign('showTypeSearch', $showTypeSearch);
// "Search in"
$allMediaTypes = $this->getAllAvailableMediaTypesOptions();
$this->view->assign('allMediaTypes', $allMediaTypes);
$allLanguageUids = $this->getAllAvailableLanguageOptions();
$this->view->assign('allLanguageUids', $allLanguageUids);
$showMediaAndLanguageSearch = count($allMediaTypes) || count($allLanguageUids);
$this->view->assign('showMediaAndLanguageSearch', $showMediaAndLanguageSearch);
// Sections
$allSections = $this->getAllAvailableSectionsOptions();
$this->view->assign('allSections', $allSections);
// Free Indexing Configurations
$allIndexConfigurations = $this->getAllAvailableIndexConfigurationsOptions();
$this->view->assign('allIndexConfigurations', $allIndexConfigurations);
// Sorting
$allSortOrders = $this->getAllAvailableSortOrderOptions();
$this->view->assign('allSortOrders', $allSortOrders);
$allSortDescendings = $this->getAllAvailableSortDescendingOptions();
$this->view->assign('allSortDescendings', $allSortDescendings);
$showSortOrders = count($allSortOrders) || count($allSortDescendings);
$this->view->assign('showSortOrders', $showSortOrders);
// Limits
$allNumberOfResults = $this->getAllAvailableNumberOfResultsOptions();
$this->view->assign('allNumberOfResults', $allNumberOfResults);
$allGroups = $this->getAllAvailableGroupOptions();
$this->view->assign('allGroups', $allGroups);
}
Maybe a protected "helper" could solve the problem for both actions, but I'm not in deep into the code and I don't find any hint oder issue addressing this problem - so it's a bug or something I configure in a wrong way ...?
Greetings,
André