fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[wolnelektury.git]
/
src
/
search
/
index.py
diff --git
a/src/search/index.py
b/src/search/index.py
index
22c9a02
..
4606f57
100644
(file)
--- a/
src/search/index.py
+++ b/
src/search/index.py
@@
-9,7
+9,6
@@
import os
import re
from django.conf import settings
from librarian import dcparser
import re
from django.conf import settings
from librarian import dcparser
-import librarian.meta.types.date
import librarian.meta.types.person
import librarian.meta.types.text
from librarian.parser import WLDocument
import librarian.meta.types.person
import librarian.meta.types.text
from librarian.parser import WLDocument
@@
-350,9
+349,6
@@
class Index(SolrIndex):
else:
persons = ', '.join(map(str, p))
fields[field.name] = persons
else:
persons = ', '.join(map(str, p))
fields[field.name] = persons
- elif issubclass(type_indicator, librarian.meta.types.date.DateValue):
- dt = getattr(book_info, field.name)
- fields[field.name] = dt
# get published date
pd = None
# get published date
pd = None