Prevent blank titles base_url to be displayed as popular links
1 files changed, 2 insertions(+), 0 deletions(-) M api/loaders/loaders.go
M api/loaders/loaders.go => api/loaders/loaders.go +2 -0
@@ 33,6 33,8 @@ func getPopularLinks(ctx context.Context) func(key []string) ([][]*models.BaseUR errors := make([]error, 1) opts := &database.FilterOptions{ Filter: sq.And{ // We are preventing blank title links to be public_ready, but just in case sq.NotEq{"b.title": ""}, sq.Eq{"b.public_ready": true}, sq.Gt{"b.counter": 0}, },