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

re #1633: finish preprint->repository refactor for searching preprints #1763

Closed

Conversation

hardyoyo
Copy link
Contributor

  • use correct object models throughout
  • tweak search form to use a name for the search_term input
  • tweak list page to indicate the search_term if it's present

…ng preprints

- use correct object models throughout
- tweak search form to use a name for the search_term input
- tweak list page to indicate the search_term if it's present
authors__in=from_author,
stage=submission_models.STAGE_PREPRINT_PUBLISHED,
date_published__lte=timezone.now())]
# preprints_from_author = [preprint for preprint in models.Preprint.objects.filter(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops... I forgot that I'd commented the author and institution search to get this working... that remains to be done.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'm in over my head with this... I can't seem to make progress on searching by author name or institution... we may want to defer that functionality for a future ticket?

@ajrbyers
Copy link
Member

ajrbyers commented Aug 11, 2020 via email

…om_author filter, still doesn't work, but is more correct than pk, keeping it, also reworded a comment to make it more correct
@hardyoyo
Copy link
Contributor Author

superseded by #1766, closing this

@hardyoyo hardyoyo closed this Aug 12, 2020
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.

2 participants