1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-01-04 18:36:25 +08:00
parent 6509bb8290
commit 73e782e684
2 changed files with 2 additions and 1 deletions

View File

@ -60,6 +60,7 @@ func _command_search(m *ice.Message, kind, name, text string) {
mdb.HELP, cmd.Help, nfs.FILE, FileURI(cmd.GetFileLines()),
)
})
m.Sort(m.OptionFields())
}
const (

View File

@ -38,7 +38,7 @@ func init() {
if m.Option(ice.MSG_STORM) == "" {
m.Cmdy(mdb.SELECT, RIVER, _river_key(m), mdb.HASH, ice.OptionFields("time,hash,name,text,count"))
} else if len(arg) == 0 || kit.Int(arg[0]) > 0 {
m.Cmdy(mdb.SELECT, RIVER, _storm_key(m), mdb.LIST, mdb.ID, arg, ice.OptionFields("time,id,space,index,args,style,display"))
m.Cmdy(mdb.SELECT, RIVER, _storm_key(m), mdb.LIST, mdb.ID, arg, ice.OptionFields("time,id,space,index,args,style,display")).SortInt(mdb.ID)
} else if aaa.Right(m, arg) {
m.Push(ctx.INDEX, arg[0])
}