Skip to content

Instantly share code, notes, and snippets.

@sushant-j
Created April 12, 2017 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sushant-j/ca7f1677143ddb15fe33d27a150fb96f to your computer and use it in GitHub Desktop.
Save sushant-j/ca7f1677143ddb15fe33d27a150fb96f to your computer and use it in GitHub Desktop.

Okay, just discussed with Pushkar.. there's 5 possible scenarios, which are:

0. Search string entered, Either filters applied with ONLINE PAY --> Show doctors based on ONLINE PAY filter

1. No Search string entered, Both filters applied --> Show doctors based on type filter

2. Search string entered, No filters applied --> Showing popular doctors (pre-set)

3. Search string entered, Location filter applied -->

  3.1 Showing other doctors in filtered location (If available)

4. Search string entered, Type filter applied -->

  4.1 Showing other doctors (may or may not be popular) in filtered type (if available )

5. Search string entered, Location and Type filter applied -->

    5.1 Showing other doctors by filtered type 

Assumptions

All locations and specialisations **WILL** have at least 1 result on Sminq. 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment