mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Fixing folders disappearing on search.
This commit is contained in:
parent
4cfb64b6bd
commit
a49a2f6ca3
4 changed files with 7 additions and 4 deletions
|
@ -34,7 +34,7 @@ ul.segmented-control {
|
|||
color: #61635e;
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
|
||||
transition: 0.14s ease-in-out background;
|
||||
flex: 1 1 0;
|
||||
flex: 1 1 auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
|
|
@ -5786,6 +5786,7 @@ body {
|
|||
line-height: 24px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.NB-sideoption-discover .segmented-control-item a {
|
||||
|
|
|
@ -383,8 +383,8 @@ NEWSBLUR.Collections.Folders = Backbone.Collection.extend({
|
|||
var feedA = modelA.feed;
|
||||
var feedB = modelB.feed;
|
||||
|
||||
if (!feedA || !feedB) {
|
||||
return !feedA ? 1 : -1;
|
||||
if (!feedA || !feedB || !feedA.get('feed_title') || !feedB.get('feed_title')) {
|
||||
return !feedA || !feedA.get('feed_title') ? 1 : -1;
|
||||
}
|
||||
|
||||
var remove_articles = function (str) {
|
||||
|
|
|
@ -111,10 +111,12 @@ MAX_EMAILS_SENT_PER_DAY_PER_USER = 20 # Most are story notifications
|
|||
# ===========================
|
||||
|
||||
SHELL_PLUS_IMPORTS = [
|
||||
"from apps.search.models import SearchFeed, SearchStory",
|
||||
"from apps.search.models import SearchFeed, SearchStory, DiscoverStory",
|
||||
"import redis",
|
||||
"import datetime",
|
||||
"from pprint import pprint",
|
||||
"import requests",
|
||||
"import feedparser",
|
||||
]
|
||||
# SHELL_PLUS_PRINT_SQL = True
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue