@internetarchive/collection-browser 4.1.2-alpha12 → 4.1.2-alpha13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1278,13 +1278,6 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
1278
1278
  this.sortDirection = queryState.sortDirection;
1279
1279
  this.selectedTitleFilter = queryState.selectedTitleFilter;
1280
1280
  this.selectedCreatorFilter = queryState.selectedCreatorFilter;
1281
- // Apply the correct default sort for the new profile element immediately,
1282
- // so it is in place before hostUpdate() fires on the data source.
1283
- // Without this, a stale defaultSortField from a previously-active tab
1284
- // could be used in the first fetch for the incoming tab.
1285
- // if (this.profileElement) {
1286
- // this.applyDefaultProfileSort();
1287
- // }
1288
1281
  this.pagesToRender = this.initialPageNumber;
1289
1282
  // We set this flag during the update to prevent the URL state persistence
1290
1283
  // from creating an unwanted extra history entry.