@james_jayaraj/test-npm 0.8.3 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @james_jayaraj/test-npm might be problematic. Click here for more details.

@@ -5576,7 +5576,9 @@ class RxComponent {
5576
5576
  this.PrimarySearchSpinner = true;
5577
5577
  this.changedetect.detectChanges();
5578
5578
  this.searchMedicinesPageNumber += 1;
5579
- this.commonServices.MIMSPrimaryapi = this.apiService.Get(config.GET_MEDS_BY_SEARCH + '?productName=' + encodeURIComponent(this.ProductSearchName) + '&page=' + this.searchMedicinesPageNumber + '&noOfRec=10').subscribe((res) => {
5579
+ const searchMethod = this.commonServices.smartSearch ? config.GET_MEDS_BY_SMART_SEARCH + '?productName=' + encodeURIComponent(this.ProductSearchName) + '&page=' + this.searchMedicinesPageNumber + '&noOfRec=10'
5580
+ : config.GET_MEDS_BY_SEARCH + '?productName=' + encodeURIComponent(this.ProductSearchName) + '&page=' + this.searchMedicinesPageNumber + '&noOfRec=10';
5581
+ this.commonServices.MIMSPrimaryapi = this.apiService.Get(searchMethod).subscribe((res) => {
5580
5582
  try {
5581
5583
  if (this.isStillSearching) {
5582
5584
  this.searchMedicineLoader = true;