Ziehe die ganze Zeile auf Pfeil, Punkt oder Kasten und erkenne Paperless-Anlagen im Export, damit der Drop ankommt und der Originalabruf nicht mehr fehlt.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
7e8a3e865e
commit
20fa183c1c
3 files changed
+74
-47
No files matched your search
@@ -1153,7 +1153,7 @@ def _element_public(conn, element, page: Ctx) -> dict:
|
||||
if element is None:
|
||||
return {"title": "", "kind": "", "dates": {}}
|
||||
dates = _dates(conn, element["id"])
|
||||
return {
|
||||
body = {
|
||||
"id": str(element["id"]),
|
||||
"title": element["title"],
|
||||
"kind": element["kind"],
|
||||
@@ -1163,6 +1163,10 @@ def _element_public(conn, element, page: Ctx) -> dict:
|
||||
"received_on": dump_date(dates["received_on"]),
|
||||
},
|
||||
}
|
||||
source = _evidence_source(conn, element["id"])
|
||||
if source:
|
||||
body["external"] = {"source": source}
|
||||
return body
|
||||
|
||||
|
||||
def _readable_uses(conn, actor, scope: Ctx, host_id: UUID, page: Ctx) -> list[dict]:
|
||||
|
||||
Reference in new issue
Block a user