@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.

@@ -5590,7 +5590,9 @@ class RxComponent {
5590
5590
  this.PrimarySearchSpinner = true;
5591
5591
  this.changedetect.detectChanges();
5592
5592
  this.searchMedicinesPageNumber += 1;
5593
- this.commonServices.MIMSPrimaryapi = this.apiService.Get(config.GET_MEDS_BY_SEARCH + '?productName=' + encodeURIComponent(this.ProductSearchName) + '&page=' + this.searchMedicinesPageNumber + '&noOfRec=10').subscribe((res) => {
5593
+ const searchMethod = this.commonServices.smartSearch ? config.GET_MEDS_BY_SMART_SEARCH + '?productName=' + encodeURIComponent(this.ProductSearchName) + '&page=' + this.searchMedicinesPageNumber + '&noOfRec=10'
5594
+ : config.GET_MEDS_BY_SEARCH + '?productName=' + encodeURIComponent(this.ProductSearchName) + '&page=' + this.searchMedicinesPageNumber + '&noOfRec=10';
5595
+ this.commonServices.MIMSPrimaryapi = this.apiService.Get(searchMethod).subscribe((res) => {
5594
5596
  try {
5595
5597
  if (this.isStillSearching) {
5596
5598
  this.searchMedicineLoader = true;