Project

General

Profile

Actions

Bug #64904

closed

indexed search experimental advanced search is not working

Added by Tymoteusz Motylewski about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2015-02-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint
Actions #1

Updated by Gerrit Code Review about 9 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

Actions #2

Updated by Tymoteusz Motylewski about 9 years ago

  • Sprint Focus set to Stabilization Sprint
Actions #3

Updated by Tymoteusz Motylewski about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Gerrit Code Review about 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

Actions #5

Updated by Tymoteusz Motylewski about 9 years ago

  • Status changed from Under Review to Resolved
Actions #6

Updated by André Steiling over 8 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é

Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF