@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.
- package/dist/src/collection-browser.js +0 -7
- package/dist/src/collection-browser.js.map +1 -1
- package/dist/src/data-source/collection-browser-data-source.js +3 -2
- package/dist/src/data-source/collection-browser-data-source.js.map +1 -1
- package/package.json +2 -3
- package/src/collection-browser.ts +0 -8
- package/src/data-source/collection-browser-data-source.ts +3 -2
|
@@ -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.
|