1
0
Fork 0
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:
Frédéric Guillot 2020-03-17 20:22:02 -07:00
parent 41a2b7e58e
commit 59c8dac851
4 changed files with 13 additions and 5 deletions

View file

@ -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)