Closed gaurijo closed 9 months ago
This PR is for issue #8
Summary of Changes:
Modify placeholder in search box to include filtering by oclc number(s)
oclc number(s)
Include oclc_number in table results
oclc_number
Update BooksController#index to query for oclc_numbers (which are found by setting id.length == 8)
BooksController#index
id.length == 8
Include oclc_number for compiling missing ids
compiling missing ids
Add 'OR oclc_number = ?' in SQL query to find matching book records
'OR oclc_number = ?'
Tests for each of the different filtering queries (bib, object, oclc)
filtering queries
Great work!
This PR is for issue #8
Summary of Changes:
Modify placeholder in search box to include filtering by
oclc number(s)
Include
oclc_number
in table resultsUpdate
BooksController#index
to query for oclc_numbers (which are found by settingid.length == 8
)Include oclc_number for
compiling missing ids
Add
'OR oclc_number = ?'
in SQL query to find matching book recordsTests for each of the different
filtering queries
(bib, object, oclc)