Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
47fbff77
Commit
47fbff77
authored
Mar 08, 2019
by
Dominik Hebeler
Browse files
Fixed error where results were filtered by language filter
parent
d10a60b5
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Models/Result.php
View file @
47fbff77
...
...
@@ -251,14 +251,6 @@ class Result
return
false
;
}
# Eventueller Sprachfilter
if
(
$metager
->
getLang
()
!==
"all"
)
{
if
(
!
isset
(
$this
->
langCode
)
||
$this
->
langCode
===
null
||
$metager
->
getLang
()
!==
$this
->
langCode
)
{
return
false
;
}
}
# Stopworte
foreach
(
$metager
->
getStopWords
()
as
$stopWord
)
{
$text
=
$this
->
titel
.
" "
.
$this
->
descr
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment