Commit df2681f8 authored by ssp's avatar ssp
Browse files

more changes for the 'keyword' -> 'subject' change

* change the field markup in the search form
* remove superfluous line
* update JS
parent 1dca5de3
......@@ -947,7 +947,6 @@ private function keywordsDetailLine ($result) {
$infoElements = Array($infoElement);
foreach ($result['md-subject'] as $keywordIndex => $keywordArray) {
$keyword = $keywordArray['values'][0];
$keywordQuery = "subject=\\\"" . $keyword . "\\\"";
$linkElement = $this->doc->createElement('a');
$URIBuilder = $this->controllerContext->getUriBuilder();
......
......@@ -41,9 +41,9 @@
<f:if condition="{conf.useKeywords}">
<div class="pz2-fieldContainer pz2-field-subject">
<label class="pz2-textFieldLabel" for="pz2-field-subject"><f:translate key="form-extended-label-keyword" >keyword</f:translate></label>
<f:form.textfield id="pz2-field-subject" class="pz2-searchField" name="queryStringKeyword" value="{query.queryStringKeyword}"
additionalAttributes="{placeholder: '{f:translate(key:\"form-extended-placeholder-keyword\")}'}"/>
<label class="pz2-textFieldLabel" for="pz2-field-subject"><f:translate key="form-extended-label-subject">subject</f:translate></label>
<f:form.textfield id="pz2-field-subject" class="pz2-searchField" name="queryStringSubject" value="{query.queryStringSubject}"
additionalAttributes="{placeholder: '{f:translate(key:\"form-extended-placeholder-subject\")}'}"/>
</div>
</f:if>
......
Subproject commit d8b89d98e147883d4af82d880f38cf6e086a5732
Subproject commit 4c3c25826d90c8db60fa4bf92a3d4e5bf3015e74
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment