Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Simple OPDS
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Simple OPDS
Commits
04aa33af
Commit
04aa33af
authored
Mar 19, 2018
by
Dmitry Shelepnev
Browse files
Options
Downloads
Patches
Plain Diff
Fix get redtime in anonymous mode
parent
0bd4da52
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
opds_catalog/management/commands/sopds_server.py
+1
-1
1 addition, 1 deletion
opds_catalog/management/commands/sopds_server.py
sopds_web_backend/views.py
+1
-1
1 addition, 1 deletion
sopds_web_backend/views.py
with
2 additions
and
2 deletions
opds_catalog/management/commands/sopds_server.py
+
1
−
1
View file @
04aa33af
...
@@ -7,7 +7,7 @@ from django.core.management.base import BaseCommand
...
@@ -7,7 +7,7 @@ from django.core.management.base import BaseCommand
from
django.core.management
import
call_command
from
django.core.management
import
call_command
#from opds_catalog.settings import SERVER_LOG, SERVER_PID
#from opds_catalog.settings import SERVER_LOG, SERVER_PID
#from opds_c
a
talog import settings
#from opds_c
git branch
talog import settings
from
constance
import
config
from
constance
import
config
class
Command
(
BaseCommand
):
class
Command
(
BaseCommand
):
...
...
This diff is collapsed.
Click to expand it.
sopds_web_backend/views.py
+
1
−
1
View file @
04aa33af
...
@@ -208,7 +208,7 @@ def SearchBooksView(request):
...
@@ -208,7 +208,7 @@ def SearchBooksView(request):
'
registerdate
'
:
row
.
registerdate
,
'
id
'
:
row
.
id
,
'
annotation
'
:
strip_tags
(
row
.
annotation
),
\
'
registerdate
'
:
row
.
registerdate
,
'
id
'
:
row
.
id
,
'
annotation
'
:
strip_tags
(
row
.
annotation
),
\
'
docdate
'
:
row
.
docdate
,
'
format
'
:
row
.
format
,
'
title
'
:
row
.
title
,
'
filesize
'
:
row
.
filesize
//
1000
,
\
'
docdate
'
:
row
.
docdate
,
'
format
'
:
row
.
format
,
'
title
'
:
row
.
title
,
'
filesize
'
:
row
.
filesize
//
1000
,
\
'
authors
'
:
row
.
authors
.
values
(),
'
genres
'
:
row
.
genres
.
values
(),
'
series
'
:
row
.
series
.
values
(),
'
ser_no
'
:
row
.
bseries_set
.
values
(
'
ser_no
'
),
\
'
authors
'
:
row
.
authors
.
values
(),
'
genres
'
:
row
.
genres
.
values
(),
'
series
'
:
row
.
series
.
values
(),
'
ser_no
'
:
row
.
bseries_set
.
values
(
'
ser_no
'
),
\
'
readtime
'
:
row
.
bookshelf_set
.
filter
(
user
=
request
.
user
).
values
(
'
readtime
'
)
'
readtime
'
:
row
.
bookshelf_set
.
filter
(
user
=
request
.
user
).
values
(
'
readtime
'
)
if
config
.
SOPDS_AUTH
else
None
}
}
if
summary_DOUBLES_HIDE
:
if
summary_DOUBLES_HIDE
:
title
=
p
[
'
title
'
]
title
=
p
[
'
title
'
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment