Commit Graph

7 Commits (a910abbb451ea89b8279b43bd818a140fe0f3b51)

Author SHA1 Message Date
Bartlomiej Komendarczuk e8d4b7a8b1
Added default sorting milestones by name ()
 
Added default sorting for milestones by name.
Additional, name for sorting closestduedate and furthestduedate was
broken, so I fixed it.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
6543 a3f05d0d98
remove util.OptionalBool and related functions ()
and migrate affected code

_last refactoring bits to replace **util.OptionalBool** with
**optional.Option[bool]**_
Nanguan Lin 6a725b6f9c
Remove deadcode under models/issues ()
Using the Go Official tool `golang.org/x/tools/cmd/deadcode@latest`
mentioned by [go blog](https://go.dev/blog/deadcode).
Just use `deadcode .` in the project root folder and it gives a list of
unused functions. Though it has some false alarms.
This PR removes dead code detected in `models/issues`.
Lunny Xiao 537fa69962
Second part of refactor `db.Find` ()
Continue of  and move more functions to `db.Find` and `db.Count`.
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor ()
Part of 

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor ()
Part of 
Lunny Xiao e3ed67859a
Move some functions to service layer ()