Merge branch 'shipping-note-fix-float-hours' into 'master'
fixed new borderpoint filter See merge request fronk/thetool!837
This commit is contained in:
@@ -231,9 +231,9 @@ class PreorderController extends mfBaseController {
|
|||||||
$new_filter['addon_services'] = true;
|
$new_filter['addon_services'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(array_key_exists("borderpoint", $filter) && $filter['borderpoint'] == 1) {
|
if(array_key_exists("borderpoint", $filter) && $filter['borderpoint'] === 'with') {
|
||||||
$new_filter['add-where'] .= " AND (adb_hausnummer.borderpoint_lat IS NOT NULL AND adb_hausnummer.borderpoint_long IS NOT NULL)";
|
$new_filter['add-where'] .= " AND (adb_hausnummer.borderpoint_lat IS NOT NULL AND adb_hausnummer.borderpoint_long IS NOT NULL)";
|
||||||
} elseif(array_key_exists("borderpoint", $filter) && $filter['borderpoint'] == 0) {
|
} elseif(array_key_exists("borderpoint", $filter) && $filter['borderpoint'] === 'without') {
|
||||||
$new_filter['add-where'] .= " AND (adb_hausnummer.borderpoint_lat IS NULL OR adb_hausnummer.borderpoint_long IS NULL)";
|
$new_filter['add-where'] .= " AND (adb_hausnummer.borderpoint_lat IS NULL OR adb_hausnummer.borderpoint_long IS NULL)";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
//ini set max ram to 2GB
|
||||||
|
ini_set('memory_limit', '2048M');
|
||||||
|
|
||||||
|
//show errors
|
||||||
|
ini_set('display_errors', 1);
|
||||||
|
ini_set('display_startup_errors', 1);
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SOPP - SBIDI Network Operations Plattform
|
* SOPP - SBIDI Network Operations Plattform
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user