Page MenuHomePhabricator

Paste query results do not display actual length of listed Pastes (but always "5 lines" if Paste is longer)
Closed, ResolvedPublic


Steps to reproduce:

  1. Go to (version as of now)
  2. Look at the right of Paste content previews, where Paste creation date, length, and author are listed.

Expected behavior:
Paste length is displayed correctly.

Actual behavior:
Any Pastes with more than 5 lines display "5 lines". Might be the preview length on that very page instead of their actual length.

Upstreamed from (and pretty minor...)

Event Timeline

aklapper created this task.Aug 27 2016, 5:26 PM
eadler added a subscriber: eadler.Aug 27 2016, 11:35 PM
michaeljs1990 added a subscriber: michaeljs1990.

I put up a diff that fixes this however I'm not sure if it's the correct solution.

michaeljs1990 triaged this task as Wishlist priority.Aug 28 2016, 6:44 PM

D16465 has details on how to move forward here if anyone wants to steal it before @michaeljs1990 gets back to it.

qgil removed a subscriber: qgil.Sep 15 2016, 7:32 AM