mirror of
https://github.com/miniflux/v2.git
synced 2025-08-21 18:11:09 +00:00
Display Feed URL on shared page instead of user feed entries
This commit is contained in:
parent
41a2b7e58e
commit
59c8dac851
4 changed files with 13 additions and 5 deletions
|
@ -128,7 +128,7 @@ func (e *EntryQueryBuilder) WithoutStatus(status string) *EntryQueryBuilder {
|
|||
return e
|
||||
}
|
||||
|
||||
// WithShareCode set the entry hash.
|
||||
// WithShareCode set the entry share code.
|
||||
func (e *EntryQueryBuilder) WithShareCode(shareCode string) *EntryQueryBuilder {
|
||||
e.conditions = append(e.conditions, fmt.Sprintf("e.share_code = $%d", len(e.args)+1))
|
||||
e.args = append(e.args, shareCode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue