javigallostra / RocoLib

Web App to create and share bouldering routes of a climbing gym.
GNU General Public License v3.0
7 stars 3 forks source link

Take into account filter status and options when swipping problems #154

Open juangallostra opened 2 years ago

juangallostra commented 2 years ago

Description

Take into account:

  1. Filter state (difficulty, wall section, creator, etc.)
  2. Sort order (difficulty, creation ,date, etc.)

when swipping problems.

Maybe the best way is to store the values in the session variable and use them to query next problem. Another way would be to apply the filters once the problems have been retrieved and return the first match. Although I would prefer the first option.

juangallostra commented 2 years ago

Partial work on #170