[TikiWiki-commits] [Git][tikiwiki/tiki][master] [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 <693f9bf5bb38e_2a17f8186902c@gitlab-sidekiq-low-urgency-cpu-bound-v2-5d7ffb688d-5drsl.mail>

Victor Emanouilov pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
92dbaf91 by Victor Emanouilov at 2025-12-15T07:26:08+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/92dbaf918e47a2b369c7848688f9f19497067175

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/92dbaf918e47a2b369c7848688f9f19497067175
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.