ashok 2 months ago
commit 5ad2e6b369

@ -896,9 +896,9 @@ const getLocationsByCityZoneOffice = async (city, zone, officeName) => {
} }
// Office name filter // Office name filter
// if (officeName && officeName.trim().toUpperCase() !== "ALL") { if (officeName && officeName.trim().toUpperCase() !== "ALL") {
// matchCondition.officeName = { $regex: `^${officeName.trim()}$`, $options: "i" }; matchCondition.officeName = { $regex: `^${officeName.trim()}$`, $options: "i" };
// } }
const result = await Zone.aggregate([ const result = await Zone.aggregate([
{ {

Loading…
Cancel
Save