Loading sopds_web_backend/__pycache__/views.cpython-35.pyc −23 B (14.1 KiB) File changed.No diff preview for this file type. View original file View changed file sopds_web_backend/views.py +3 −3 Original line number Diff line number Diff line Loading @@ -149,9 +149,9 @@ def SearchBooksView(request): p = {'doubles':0, 'lang_code': row.lang_code, 'filename': row.filename, 'path': row.path, \ 'registerdate': row.registerdate, 'id': row.id, 'annotation': row.annotation, \ 'docdate': row.docdate, 'format': row.format, 'title': row.title, 'filesize': row.filesize//1000} p['authors'] = row.authors.values() p['genres'] = row.genres.values() p['series'] = row.series.values() p['authors'] = row.authors p['genres'] = row.genres p['series'] = row.series if DOUBLES_HIDE and (searchtype != 'd'): title = p['title'] authors_set = {a['id'] for a in p['authors']} Loading Loading
sopds_web_backend/__pycache__/views.cpython-35.pyc −23 B (14.1 KiB) File changed.No diff preview for this file type. View original file View changed file
sopds_web_backend/views.py +3 −3 Original line number Diff line number Diff line Loading @@ -149,9 +149,9 @@ def SearchBooksView(request): p = {'doubles':0, 'lang_code': row.lang_code, 'filename': row.filename, 'path': row.path, \ 'registerdate': row.registerdate, 'id': row.id, 'annotation': row.annotation, \ 'docdate': row.docdate, 'format': row.format, 'title': row.title, 'filesize': row.filesize//1000} p['authors'] = row.authors.values() p['genres'] = row.genres.values() p['series'] = row.series.values() p['authors'] = row.authors p['genres'] = row.genres p['series'] = row.series if DOUBLES_HIDE and (searchtype != 'd'): title = p['title'] authors_set = {a['id'] for a in p['authors']} Loading