Fixed: Book filters on author properties

Fixes #1755
This commit is contained in:
ta264
2022-08-08 20:57:23 +01:00
parent f33e9f2bbc
commit 76613316fa
6 changed files with 170 additions and 122 deletions
@@ -1,10 +1,10 @@
import { createSelector, createSelectorCreator, defaultMemoize } from 'reselect';
import hasDifferentItemsOrOrder from 'Utilities/Object/hasDifferentItemsOrOrder';
import createClientSideCollectionSelector from './createClientSideCollectionSelector';
import createBooksClientSideCollectionSelector from './createBooksClientSideCollectionSelector';
function createUnoptimizedSelector(uiSection) {
return createSelector(
createClientSideCollectionSelector('books', uiSection),
createBooksClientSideCollectionSelector(uiSection),
(books) => {
const items = books.items.map((s) => {
const {