Project

General

Profile

Actions

Bug #13

closed

Search Results Issue

Bug #13: Search Results Issue

Added by Majd Al-Deen about 2 months ago. Updated about 1 month ago.

Status:
Rejected
Priority:
High
Assignee:
Target version:
Sunnex - V1.1
Start date:
01/25/2026
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

جملة البحث "كريسبي واي الشعلان" طلع رقمو 2

و قبلو صيدلية
AL IHSSAN

تمت العملية في المكتب


Files

Updated by Majd Al-Deen about 2 months ago Actions #1

  • Priority changed from Normal to High

Updated by Fadi Hussein about 2 months ago Actions #2

  • Project changed from 1 to Sunnex Backend
  • Assignee set to Milad Khnefes

Updated by Milad Khnefes about 2 months ago Actions #3

Screenshot from 2026-01-25 16-50-27.png

ملف "/app/guide/views/business/search.py"
عدلت الأسطر من من 413 للـ418 بهدول:
# Get order_by parameter or use intelligent defaults
if self.request.query_params.get("order_by"):
order_by_values = self.request.query_params.get("order_by").split(",")
else:
if has_search:
# Default to relevance first, then distance if available, then others
default_keys = ["relevance"]
if "distance" in order_mapping:
default_keys.append("distance")
default_keys.extend(["name", "newest"]) # Or whichever fallback you prefer
order_by_values = default_keys
else:
order_by_values = list(order_mapping.keys())

Updated by Fadi Hussein about 2 months ago Actions #4

  • Status changed from New to In Progress

Updated by Fadi Hussein about 2 months ago Actions #5

  • Target version set to V1.1

Updated by Fadi Hussein about 2 months ago Actions #6

  • Assignee changed from Milad Khnefes to Fadi Hussein

Updated by Fadi Hussein about 1 month ago Actions #7

  • Status changed from In Progress to Rejected

Will be Solved in the New Server Logic

Actions

Also available in: PDF Atom