Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/ZoteroFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function ZoteroFeed({
const controller = new AbortController();
// Fetch only top-level items; exclude children implicitly. We will filter
// attachments/notes on the client for extra safety.
const url = `https://api.zotero.org/groups/${groupId}/items/top?format=json&limit=${limit}&sort=date&direction=desc`;
const url = `https://api.zotero.org/groups/${groupId}/items/top?format=json&limit=${limit}&sort=dateAdded&direction=desc`;
fetch(url, { signal: controller.signal })
.then(async (r) => {
if (!r.ok) throw new Error(`${r.status} ${r.statusText}`);
Expand Down