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

Search module bug fix #378

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gugahoi
Copy link
Collaborator

@gugahoi gugahoi commented Oct 11, 2014

Fix for bug where removing the first website from the search module would cause it to stop working.
Now it defaults to the "oldest" (smallest id number).

Reason:
It used to be that the search module by default tried to find the website with id = 1 however if a user deletes their first website the db would not shift the other ones back to 1 causing it to crash. Now it defaults to id closest to 1 (smallest out of all of them).

I also added a small log entry when failing to grab the newznab entry from the db.

…ould cause it to stop working.

Now it defaults to the "oldest" (smallest id number).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant