I've somehow lost my 'About' topic for a category

(Rich) #1

Hi everyone,

I’ve somehow lost (possibly deleted) my “About the Category Name” topic.

Strangely enough, on the homepage of the forums, the description that I set is still showing under the category heading name, so it must be around somewhere!

Any pointers on how to find it??

I tried a normal search for some of the keywords - no trace :open_mouth:

(Régis Hanol) #2

Edit the category and click the Edit Description button in the modal :wink:

(Rich) #3

Thanks for the quick reply!

Worryingly, that Edit Description button isn’t there :confused: (it is on all the other categories!)

(Régis Hanol) #4

I think you’ll have to use the rails console for that one.

# ssh into server
cd /var/discourse
./launcher enter app
rails c
Category.pluck(:name, :topic_id)

You will get back a list of category names and their associated topic_id.

If the one you’re looking for is “nil”, you could try that in the rails console

Topic.unscoped.where("title ILIKE 'About %'").pluck(:title, :id)

(Jay Pfaffman) #5

What happened that there’s no about? Is this a renamed “untitled” or something like that?