@internetarchive/bookreader 5.0.0-24-sortingstate → 5.0.0-24-sortingstate-1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/bookreader",
3
- "version": "5.0.0-24-sortingstate",
3
+ "version": "5.0.0-24-sortingstate-1",
4
4
  "description": "The Internet Archive BookReader.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,6 +39,7 @@ export default class VolumesProvider {
39
39
  // get sort state from query param
40
40
  this.bookreader.urlPlugin.pullFromAddressBar(location.pathname + location.search);
41
41
  const urlSortValue = this.bookreader.urlPlugin.getUrlParam('sort');
42
+ console.log('urlSortValue: ', urlSortValue);
42
43
  if (urlSortValue === sortType.title_asc || urlSortValue === sortType.title_desc) {
43
44
  this.sortOrderBy = urlSortValue;
44
45
  } else {