Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date filter #132

Open
nbruechmann opened this issue Oct 22, 2021 · 4 comments
Open

Date filter #132

nbruechmann opened this issue Oct 22, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@nbruechmann
Copy link

I don't know if this is the right place for this but how about a filter for a date?
A "from" and a "to" field could be added to the configuration so that searches can be done within time periods, from a date and to a date.

e.g.
filters:
min_size: 10
from: 1.1.22
to: 1.3.22

@step21
Copy link

step21 commented Jan 14, 2022

You mean for sublets?

@nbruechmann
Copy link
Author

For example. The feature could also be very useful if anyone wants to move at a certain time. Offers after or before this point would be too late or too early.

@codders
Copy link

codders commented Feb 7, 2022

This wouldn't be too complicated to do, assuming the data is there on the sites themselves. The 'extract_data' function in the crawlers is parsing the listings into database entries. You should be able to add new fields there and populate them if the data is present in the listing. Extending the filters is also not such a tricky task.

@nbruechmann Are you a developer? Do you want to have a go at making a pull request?

@codders
Copy link

codders commented Feb 7, 2022

@nbruechmann Sorry - I see you have already committed to the project. Of course you're a developer :) If you want to give this a go, I'm happy to support and review your changes.

@alexanderroidl alexanderroidl added the enhancement New feature or request label Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants