Skip to content

Commit

Permalink
ignore chargers for laptop availability
Browse files Browse the repository at this point in the history
  • Loading branch information
bricas committed Oct 3, 2023
1 parent f47b80c commit 8fbafdf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ private function getLaptopAvailability() {
if (!$result) {
continue;
}
if (str_contains((string) $holding->callNumber, 'Charger')) {
continue;
}
$location = $matches[1];
if (empty($locations[$location])) {
$locations[$location] = ['avail' => 0, 'total' => 0, 'next' => ''];
Expand Down

0 comments on commit 8fbafdf

Please sign in to comment.