internetarchive / bookreader

The Internet Archive BookReader
https://openlibrary.org/dev/docs/bookreader
GNU Affero General Public License v3.0
997 stars 419 forks source link

Typo in a constructor property #1301

Open manish0kuniyal opened 11 months ago

manish0kuniyal commented 11 months ago

Description

In the file search-results.js which is inside src/BookNavigator/search/search-results.js there is a typo. In the IABookSearchResults class, there is a property named renderSearchAllFields in the constructor, but the correct property name is renderSearchAllFiles according to the static properties definition.

Evidence / Screenshot (if possible) image

Expectation

Instead of:

this.renderSearchAllFields = false;

It should be:

this.renderSearchAllFiles = false;
sahalbelam commented 3 months ago

hey, i have fixed this typo can i make a pr now