Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit cced9f3

Browse files
committed
Search fixes by client requests
1 parent 4f1bc4d commit cced9f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: app/code/Axis/Search/Model/Lucene.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function __construct()
109109
*/
110110
public function setPath($path = '')
111111
{
112-
$this->_path = AXIS_ROOT . '/var/index/' . $path;
112+
$this->_path = AXIS_ROOT . '/var/index' . $path;
113113
return $this;
114114
}
115115

Diff for: app/code/Axis/Search/controllers/Admin/IndexController.php

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ public function updateIndexAction()
114114
"ch.key_id = cp.id AND ch.key_type='p'",
115115
'key_word'
116116
)
117+
->addFilterByAvailability()
117118
->order('cc.site_id')
118119
->order('cpd.language_id')
119120
->group(array('cc.site_id', 'cpd.language_id', 'cp.id'))

0 commit comments

Comments
 (0)