mirror of
https://github.com/strapi/strapi.git
synced 2025-08-27 10:15:59 +00:00
fixed comment for version context
This commit is contained in:
parent
6c49ab55db
commit
02edab8053
@ -63,7 +63,7 @@ export default {
|
||||
for (let i = 0; i < pages.length; i++) {
|
||||
if (res.length >= max) break
|
||||
const p = pages[i]
|
||||
// filter out results that do not match current ersion context
|
||||
// filter out results that do not match current version context
|
||||
if (!~p.path.slice(1).indexOf(searchContext)) continue
|
||||
// filter out results that do not match current locale
|
||||
if (this.getPageLocalePath(p) !== localePath) continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user