KhalisFoundation / sttm-web

STTM website - https://www.sikhitothemax.org
https://www.sikhitothemax.org
Open Software License 3.0
50 stars 36 forks source link

URL Shortner should accept highlighted tukk id #366

Closed bogas04 closed 6 years ago

bogas04 commented 6 years ago

What went wrong ?

If you reach a Shabad page with Highlighted tukk set to some ID, create short URL for it doesn't consider it.

What should have happened instead ?

Highlighted tukk should be shown even for shortened URLs.

How can authors of this project cause the issue to occur on their systems ?

  1. Open this shabad.
  2. Click copy button in top share bar.
  3. Visit the copied URL, highlighted tukk isn't highlighted.

What were you trying the project on ?

bogas04 commented 6 years ago

@navdeepsinghkhalsa what would be required to enable this? basically

https://sttm.co/s/{id}/{h} ➡️ https://www.sikhitothemax.org/shabad?id={id}&highlight={h}

tarunsingh5 commented 6 years ago

fixed