Added ISBN search.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 653 KiB After Width: | Height: | Size: 653 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 982 B After Width: | Height: | Size: 982 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 653 KiB After Width: | Height: | Size: 653 KiB |
@@ -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>
|
||||
|
||||
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -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)));
|
||||
|
||||
?>
|
||||
|
||||
|
||||