mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
#SET_GROUP - small fix for FilterPrefixes compute
This commit is contained in:
parent
016875d724
commit
0d481afa16
@ -2027,7 +2027,7 @@ do
|
|||||||
local MGroupPrefix = false
|
local MGroupPrefix = false
|
||||||
for GroupPrefixId, GroupPrefix in pairs( self.Filter.GroupPrefixes ) do
|
for GroupPrefixId, GroupPrefix in pairs( self.Filter.GroupPrefixes ) do
|
||||||
--self:I( { "Prefix:", MGroup:GetName(), GroupPrefix } )
|
--self:I( { "Prefix:", MGroup:GetName(), GroupPrefix } )
|
||||||
if string.find( string.lower(MGroup:GetName()), string.lower(GroupPrefix), 1 ) or string.find( string.lower(MGroup:GetName()), string.lower(GroupPrefix), 1, true ) then
|
if string.find(MGroup:GetName(), string.gsub(GroupPrefix,"-","%%-"),1) then
|
||||||
MGroupPrefix = true
|
MGroupPrefix = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user