Skip to content

Commit

Permalink
FIX: User's bookshelf must be displayed even with many documents on it.
Browse files Browse the repository at this point in the history
The display problem was due to a warning message mixed with the results
("Reduce output must shrink more rapidly").
The message is now filtered from data and displayed in console but still
needs to be addressed.
  • Loading branch information
benel committed Jul 11, 2024
1 parent 85ab292 commit 4de7025
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/src/hyperglosae.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ function Hyperglosae(logger) {
this.getView({view: 'all_documents', id, options: ['group']})
.then((rows) => {
callback(
rows.map(
({value}) => ({...value.metadata, referenced: value.referenced})
)
rows.filter(x => !(x.error && (console.error(x.reason) || true)))
.map(
({value}) => ({...value.metadata, referenced: value.referenced})
)
);
});
};
Expand Down

0 comments on commit 4de7025

Please sign in to comment.