SciPost Code Repository

Skip to content
Snippets Groups Projects
  1. May 04, 2020
  2. May 02, 2020
  3. Nov 06, 2019
  4. Jun 30, 2019
  5. May 18, 2019
  6. Apr 04, 2019
  7. Feb 23, 2019
  8. Feb 22, 2019
  9. Feb 21, 2019
  10. Feb 20, 2019
  11. Feb 19, 2019
  12. Jan 08, 2019
  13. Nov 12, 2018
  14. Oct 12, 2018
  15. Oct 10, 2018
  16. Oct 08, 2018
  17. Oct 07, 2018
  18. Oct 03, 2018
  19. Oct 02, 2018
    • Jean-Sébastien Caux's avatar
      Solve problems with cont/unreg links to Organization · f6faf784
      Jean-Sébastien Caux authored
      The solution involves a bit of hacking via a list comprehension of ids,
      since related_name='+' has been set for contributor and unregistered_author
      fields of PublicationAuthorsTable.
      
      The previous version returned the wrong sort of objects, i.e.
      
      return self.publicationauthorstable_set.select_related(
         'contributor').order_by('contributor__user__last_name')
      
      returned PublicationAuthorsTable objects instead of Contributors
      f6faf784
  20. Sep 22, 2018
Loading