[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX] manticore index rebuild: nsort bug with incremental index
"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <693f9bff4c634_2a17f818947f3@gitlab-sidekiq-low-urgency-cpu-bound-v2-5d7ffb688d-26j4v.mail> |
Victor Emanouilov pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki
Commits:
f9c0b3c5 by Victor Emanouilov at 2025-12-15T07:26:18+02:00
[FIX] manticore index rebuild: nsort bug with incremental index
- - - - -
1 changed file:
- lib/core/Search/Manticore/Index.php
Changes:
=====================================
lib/core/Search/Manticore/Index.php
=====================================
@@ -135,7 +135,7 @@ class Index implements \Search_Index_Interface, \Search_Index_QueryRepository
);
foreach ($data as $field => $value) {
- if (isset($this->providedMappings[$field . '_nsort'])) {
+ if (isset($this->providedMappings[$field . '_nsort']) || isset($this->providedMappings[strtolower($field) . '_nsort'])) {
$data[$field . '_nsort'] = @floatval($value);
}
}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/f9c0b3c53a9d489bfc59c42a5e64276ae7d8589a
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/f9c0b3c53a9d489bfc59c42a5e64276ae7d8589a
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs