mirror of https://github.com/EasyDarwin/EasyDarwin
Merge remote-tracking branch 'origin/master'
commit
5f1d0ab96d
|
@ -106,10 +106,10 @@ func (pr *PageResult) Sort(by, order string) *PageResult {
|
|||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
if byIdx == -1 {
|
||||
log.Printf("%v field name[%s] not found, case insensitive", te, by)
|
||||
return pr
|
||||
if byIdx == -1 {
|
||||
log.Printf("%v field name[%s] not found, case insensitive", te, by)
|
||||
return pr
|
||||
}
|
||||
}
|
||||
sort.Slice(pr.Rows, func(i, j int) (ret bool) {
|
||||
va := reflect.ValueOf(pr.Rows).Index(i)
|
||||
|
|
|
@ -243,10 +243,10 @@
|
|||
"revisionTime": "2018-09-07T02:33:35Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "1+jDqOOmKfkxmqBhm1hp5a70Qx4=",
|
||||
"checksumSHA1": "38aBVjLg48devHs7imW6AeWQ/Ho=",
|
||||
"path": "github.com/penggy/EasyGoLib/utils",
|
||||
"revision": "06f9b72921eecd9499778c905788e7bbcff1a217",
|
||||
"revisionTime": "2018-11-29T14:20:46Z"
|
||||
"revision": "c61bc7ee568dd64a40f19ff44e32db22134226d9",
|
||||
"revisionTime": "2018-12-13T05:46:04Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "SBuXxdLcdTlDcOvRYEpnP0zp810=",
|
||||
|
|
Loading…
Reference in New Issue