mirror of
https://github.com/miniflux/v2.git
synced 2025-08-31 18:31:01 +00:00
Add page to list and remove shared entries
This commit is contained in:
parent
84229f1af9
commit
9871e4f5d0
25 changed files with 457 additions and 51 deletions
|
@ -135,6 +135,12 @@ func (e *EntryQueryBuilder) WithShareCode(shareCode string) *EntryQueryBuilder {
|
|||
return e
|
||||
}
|
||||
|
||||
// WithShareCodeNotEmpty adds a filter for non-empty share code.
|
||||
func (e *EntryQueryBuilder) WithShareCodeNotEmpty() *EntryQueryBuilder {
|
||||
e.conditions = append(e.conditions, "e.share_code <> ''")
|
||||
return e
|
||||
}
|
||||
|
||||
// WithOrder set the sorting order.
|
||||
func (e *EntryQueryBuilder) WithOrder(order string) *EntryQueryBuilder {
|
||||
e.order = order
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue