Added ISBN search.

This commit is contained in:
2023-11-09 20:56:10 -06:00
parent 51b7f1e36b
commit c85f766330
21 changed files with 14 additions and 1 deletions

0
android-chrome-192x192.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

0
android-chrome-256x256.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

0
apple-touch-icon.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

0
assets/avatar/fathom-avatar.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

0
assets/avatar/favicon.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
assets/avatar/og-image.jpg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 653 KiB

After

Width:  |  Height:  |  Size: 653 KiB

0
assets/avatar/subicon.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

0
browserconfig.xml Executable file → Normal file
View File

0
favicon-16x16.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 982 B

After

Width:  |  Height:  |  Size: 982 B

0
favicon-32x32.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
favicon.ico Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

0
favicon.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
img/library-4785580_1920.jpg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

0
img/og-image.jpg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 653 KiB

After

Width:  |  Height:  |  Size: 653 KiB

View File

@ -104,6 +104,12 @@
</label><span class="far fa-question-circle icon-sm" data-placement="right" data-toggle="tooltip" title="Search by author"></span>
<input id="author" name="author" class="form-control" placeholder="Gail Simone" />
</div>
<div class="form-group">
<label>
ISBN<br>
</label><span class="far fa-question-circle icon-sm" data-placement="right" data-toggle="tooltip" title="Search by ISBN"></span>
<input id="isbn" name="isbn" class="form-control" placeholder="9780441007462" />
</div>
<div class="form-group">
<label>
Call Number<br>

0
js/jqBootstrapValidation.js Executable file → Normal file
View File

0
js/lazysizes.min.js vendored Executable file → Normal file
View File

0
mstile-150x150.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

0
safari-pinned-tab.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

0
site.webmanifest Executable file → Normal file
View File

View File

@ -21,6 +21,9 @@ $subject = filter_var($incomingsubject, FILTER_SANITIZE_STRING);
$incomingauthor = $_POST['author'];
$author = filter_var($incomingauthor, FILTER_SANITIZE_STRING);
$incomingisbn = $_POST['isbn'];
$isbn = filter_var($incomingisbn, FILTER_SANITIZE_STRING);
$incomingcallno = $_POST['callnumber'];
$callnumber = filter_var($incomingcallno, FILTER_SANITIZE_STRING);
@ -56,6 +59,10 @@ if (!empty($author)) {
$au = $searchjoiner.'au='.$author;
}
if (!empty($isbn)) {
$isbnum = $searchjoiner.'isbn='.$isbn;
}
if (!empty($callnumber)) {
$call = $searchjoiner.'call='.$callnumber;
}
@ -79,7 +86,7 @@ if (!empty($title)) {
$urlend = $searchsuffix;
}
$SearchURL = implode("", array_filter(array($url, $searchprefix, $ctx, $searchmiddle, $la, $au, $call, $kw, $su, $mat, $col, $tom, $urlend)));
$SearchURL = implode("", array_filter(array($url, $searchprefix, $ctx, $searchmiddle, $la, $au, $isbnum, $call, $kw, $su, $mat, $col, $tom, $urlend)));
?>