SandraBergstrom / travel-tickr

Travel Tickr | Project Portfolio 5 - Advanced Front End (PP5) | With Travel Tickr, your travel memories are beautifully organized, easily accessible, and ready to be shared with friends, family, and the global travel community.
https://travel-tickr-03d04732f340.herokuapp.com/
0 stars 2 forks source link

BUG: Filter for bucketlist not working #53

Closed SandraBergstrom closed 1 year ago

SandraBergstrom commented 1 year ago

Describe the bug The filter is not working for the Bucketlist. Instead of only showing posts added to the bucketlist, it shows all posts.

To Reproduce Steps to reproduce the behavior:

  1. Add a post to bucketlist
  2. Click on bucketlist in navbar
  3. See error

Expected behavior It should show only posts added to bucketlist or a no posts message.

SandraBergstrom commented 1 year ago

filtering was wrong so changed to correct which is filter={bucketlistownertraveler=${traveler_id}&ordering=-bucketlist__created_at&}