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

Victor Emanouilov pushed to branch 27.x at Tiki Wiki CMS Groupware / Tiki


Commits:
387e4717 by Victor Emanouilov at 2025-12-15T07:26:38+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/387e47173b834f7ecc25047c38d9cb5f9b01ff24

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/387e47173b834f7ecc25047c38d9cb5f9b01ff24
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.