Skip to content

Commit ba0fa17

Browse files
committed
Update sites-filter.js
Update exhibit sort order to most recent exhibit appear first.
1 parent bacc6d1 commit ba0fa17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

asset/js/sites-filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function ActivateFilter() {
9797
};
9898

9999
function LoadItemSet( id ) {
100-
let url = `/api/items?item_set_id=${id}`;
100+
let url = `/api/items?item_set_id=${id}&sort_by=created&sort_order=desc`;
101101
document.getElementById("site-grid").innerHTML = "";
102102
$.get( url, function( data ) {
103103
data.map(RenderSite);

0 commit comments

Comments
 (0)