KhalisFoundation / banidb-api

The most accurate Gurbani database ever. Contributions welcome :)
MIT License
30 stars 15 forks source link

Search not respecting selected constraints #244

Closed savraj closed 3 years ago

savraj commented 3 years ago

Describe the bug I'm selecting a few things in search but it's not working -- I'm expecting an AND of the search constraints.

https://www.sikhitothemax.org/search?q=justice&type=3&source=all&writer=12

Search input query GET parameters: (q) input string: "justice" (type) full word translation (English) (source) all (writer) 12 -- Bhagat Kabeer

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.sikhitothemax.org/search?q=justice&type=3&source=all&writer=12
  2. See that results contain writers that are not Bhagat Kabeer Ji

Expected behavior Results are restricted to writings by Bhagat Kabeer Ji.

Screenshots image

Desktop (please complete the following information):

saintsoldierx commented 3 years ago

This has been fixed @savraj