question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[UserPage] Add Page Count to sorting options

See original GitHub issue

Now that Page Count has been added to the data displayed on the User Page, it could be added to the sorting options.

It should be as simple as adding one line to the UserPage mapping function, in the same manner as the current brew.views line

image

and adding an extra button to the renderSortOptions function, which is again in the same manner as views.

image

This should be all that is required to add Page Count to the ordering options.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
calculuschildcommented, Sep 21, 2022

I agree we probably don’t need to do this. I vote to just close it.

0reactions
G-Ambattecommented, Sep 22, 2022

At this point, my vote is “no” on whether to add a sort by page count. I just personally can’t imagine using that as a method to find one of my brews.

I think that with filtering by name, description, and/or tags being functional now, finding brews is so much easier now. Having to sort the entire collection of brews by descending page count so that your magnum opus is at the top of the list is just not required, when you could filter by it’s name, or any of the tags, or even the description.

It’s entirely possible that we could add page count to the mapping options without exposing it via the UI - so if someone really wanted it because reasons, they could modify the URL to sort=pages&dir=desc. But I see nothing wrong with waiting for an observable quantity of user demand before committing any time to it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add different page numbers or number formats to different ...
Add different page numbers or number formats to different sections · Select between the intro and the body of the document and go...
Read more >
Word Tips: Modifying Page Numbers in Word - GCFGlobal
In Word modifying page numbers can be tricky if you're unsure what to do. Use this lesson to understand modifying page numbers in...
Read more >
How to Add Page Numbers in Google Docs - groovyPost
Page numbers make it easy to sort long Google Docs documents. Here's how to add them.
Read more >
Page Properties Report Macro | Confluence Data Center and ...
Enter the column name, exactly as it appears in the corresponding Page Properties macro. Select the Reverse Sort check box to sort the...
Read more >
Sort and arrange items in the Finder on Mac - Apple Support
Your settings for sorting and arranging items in a folder apply until you change them. For example, if you sort your Documents folder...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found