diff --git a/src/palace/manager/feed/serializer/opds2.py b/src/palace/manager/feed/serializer/opds2.py index 50f7d5fb2..052fbbd50 100644 --- a/src/palace/manager/feed/serializer/opds2.py +++ b/src/palace/manager/feed/serializer/opds2.py @@ -196,6 +196,9 @@ def _serialize_feed_links(self, feed: FeedData) -> dict[str, Any]: facet_links: dict[str, Any] = defaultdict(lambda: {"metadata": {}, "links": []}) for link in feed.facet_links: if is_sort_link(link): + # TODO: When we remove the facet-based sort links [PP-1814], + # this code path will be removed and we'll want to pull the sort + # link data from the feed.sort_links once that is in place. link_data["links"].append(self._serialize_sort_link(link)) else: group = getattr(link, "facetGroup", None)