Incorrect total document count shown

Aperta
#327 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
full-stack

Direzione di ricerca

The report describes an incorrect results count after documents are deleted through the API, but does not identify a file or test and says the cause may be on either the frontend or backend. Start by reproducing the count discrepancy after deleting project documents, then trace how the results count is fetched and displayed. Done means the displayed count matches the results after deletion without needing repeated hard refreshes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

I'm a new dev working at Big Local News on the Agenda Watch platform. I recently noticed that the results count is displaying incorrectly in the Document Cloud UI. This is not a critical issue by any means, but I wanted to flag to you all (cc-ed Serdar for visibility).

The issue seems to come up when I've recently deleted documents from a project via the API - see bottom right Showing 55 of 39 Results. The counts seems to resolve after a few hard refreshes of the page, which makes me think it's possibly a caching or latency thing.

Image

I am unsure if the issue is originating on the frontend or backend

Lingua principale
Python
Stelle
55
Fork
10
Merge medio
1g 13h
PR unite (30g)
22

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MuckRock/documentcloud

Tutte le issue di MuckRock/documentcloud

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.