Skip to content

Commit

Permalink
Use Rss endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovanka committed Aug 27, 2024
1 parent 0fafc26 commit b105ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/datasetsnippets/blueprints/snippet_blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def remove_field(key, value=None, replace=None):
# that search function is taking, in order to produce the results for the feeds
from ckanext.datasetsnippets.blueprints import feeds
fq_feed = fq.replace('+dataset_type:dataset', '')
feed = 'drupal_feeds/custom.atom?q=' + q + '&' + fq_feed
feed = 'drupal_feeds/custom.rss?q=' + q + '&' + fq_feed
c.feed = feed

c.page = h.Page(
Expand Down

0 comments on commit b105ba6

Please sign in to comment.