Project

General

Profile

Edit Copy Actions

Feature #10412

open

To fix the search filter and query param in all list pages & bug fixes in Ecommerce

Added by Ajit A about 1 month ago. Updated 25 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/17/2026
Due date:
08/18/2026 (31 days late)
% Done:

100%

Estimated time:
Spent time:

Add

Subtasks


Add

Related issues

Updated by Ajit A about 1 month ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

Completed for customers,request,quotes,invoices

Updated by Ajit A about 1 month ago

Backend (evergreen_pos_be)
Removed test files: test-db*.js, test-job-search.js, test-optimize.js, test-remote-job*.js, test_search.js
Modified files remaining:
src/allservices/jobService.js
src/controllers/jobs-controller.js
(plus any pre-existing uncommitted changes)
Frontend (evergreen_pos_fe)
Removed test files: test-api.js
Working directory clean of untracked files.
11:05 AM
give summary of my changes cehck git status
11:10 AM
Here is a summary of the current git status and the changes made:

1. Git Status Overview
Branch: subscription (Up to date with origin/subscription)

Modified Files in Backend (evergreen_pos_be):
src/controllers/jobs-controller.js
src/allservices/jobService.js
(Other modified files in repository: QuotationController.js, request-controller.js, database-controller.js, EverGreen-invoice-controller.js, payment.service.js)
2. Summary of Changes for Jobs Search & Route Optimization Fix

jobs-controller.js

Extracted optimizeRoute query parameter from req.query.
Evaluated isOptimizeRoute (optimizeRoute === 'true') and passed it explicitly to JobService.getJobsWithPagination.

jobService.js

Route Optimization Fix: Set optimizeRoute = false as the default argument in getJobsWithPagination signature. This prevents normal jobs list requests and exports from performing unnecessary distance-based sorting and pagination slicing.
Search Query Enhancements:
Escaped special regex characters in search strings to avoid regex syntax crashes.
Expanded search criteria to match against job_id, notes, completedJobNotes, service_name, as well as client email, contactDetails.phoneNumber, and property addresses (street1, city, state, zipCode).

Actions #3

Updated by Ajit A about 1 month ago

  • Subject changed from To fix the search filter and query param in all list pages to To fix the search filter and query param in all list pages
Actions #4

Updated by Ajit A about 1 month ago

  • Subject changed from To fix the search filter and query param in all list pages to To fix the search filter and query param in all list pages & bug fixes in Ecommerce

Updated by Ajit A about 1 month ago

fixed cart page issues, add,modify,delete

Actions #6

Updated by Ajit A about 1 month ago

  • % Done changed from 30 to 60
Actions #7

Updated by Ajit A 25 days ago

  • Due date set to 08/18/2026
  • Status changed from In Progress to Resolved
  • % Done changed from 60 to 100
Edit Copy Actions

Also available in: Atom PDF