Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-5771

"View your posts" lists/searches for topics instead of posts?

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Invalid
    • 3.0.x
    • None
    • Search
    • None
    • PHP Environment:
      Database:

    Description

      Maybe I missed something, but why does "View your posts" list only topics and not posts?

      If you click "View your posts", you probably expect to really see all of your posts, not only one "entry" for every topic you posted in.

      When you use the advanced search page, only enter a username and execute a search, all posts are displayed.
      The same for "Search user’s posts" on a user's profile page.

      The responsible piece of code seems to be the following:
      search.php, ll.251:

      if (!$keywords && sizeof($author_id_ary))
      	{
      		// if it is an author search we want to show topics by default
      		$show_results = ($topic_id) ? 'posts' : request_var('sr', ($search_id == 'egosearch') ? 'topics' : 'posts');
      		$show_results = ($show_results == 'posts') ? 'posts' : 'topics';
      	}

      If you don't want to change the behaviour, at least the link should be changed to indicate that topics and not posts are listed...

      Attachments

        Issue Links

          Activity

            People

              naderman Nils Adermann
              unknown user unknown user
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: