Version 5.0.0 beta 6

This commit is contained in:
Neo committed 2025-12-19 17:12:27 -08:00
1 parent 57d9db6ce2
commit fa2a720105
115 files changed
+1823 -1147

No files matched your search

+6 -3
View File
@@ -105,7 +105,9 @@ trait Taggable
*/
public static function definedTags(): array
{
return array_values( Tag::getStore() );
$tags = array_values( Tag::getStore() );
natcasesort( $tags );
return $tags;
}
/**
@@ -147,7 +149,7 @@ trait Taggable
$tagList[ $key ] = strtolower( $value );
} );
foreach ( Db::i()->select( '*', 'core_tags', array( 'tag_meta_app=? AND tag_meta_area=? AND tag_meta_id=?', static::$application, static::$module, $this->$idColumn ) ) as $tag )
foreach ( Db::i()->select( '*', 'core_tags', array( 'tag_meta_app=? AND tag_meta_area=? AND tag_meta_id=?', static::$application, static::$module, $this->$idColumn ), 'tag_text' ) as $tag )
{
if ( $tag['tag_prefix'] )
{
@@ -322,7 +324,8 @@ trait Taggable
'resultItemTemplate' => 'core.autocomplete.tagsResultItem',
'freeChoice' => false,
'minimized' => $minimized,
'addTokenText' => Member::loggedIn()->language()->get( 'tags_optional' )
'addTokenText' => Member::loggedIn()->language()->get( 'tags_optional' ),
'alphabetical' => true
) );
if ( Settings::i()->tags_force_lower )