1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-22 08:53:23 -05:00

Fixes a bug with #35.

* nulls work in mysql query which allows for unusual sitations to work
This commit is contained in:
Jonathan Rosenbaum 2018-05-18 07:40:44 +00:00
parent 11480e8fd3
commit 3be493fc62

View File

@ -165,7 +165,7 @@ $(function() {
last_index = last_index - 1;
$.each($("td a[href*='individual_history']"), function(index) {
if (this.href.match(/\d+$/)) {
if (this.href.match(/\d*$/)) {
var id = this.href.match(/\d+$/);
@ -180,7 +180,7 @@ $(function() {
volunteer_ids += "contacts.contact_id=" + id + " OR ";
}
}
});
}