[RSS Feed/News] Finder question

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I have "Thread Titles" add-on, I'm thinking about to share it with the community, I need to make a minor change, and I'm stuck.

Right now I have this in repository:

PHP:

Code:
    public function findTooLongTitles()
    {
        $finder = $this->finder('\XF:Thread');
        $expression = $finder->expression('CHAR_LENGTH(%s)', 'title');
        $finder
        ->setDefaultOrder('thread_id')
        ->where($expression, '>', 50)
        ->where('discussion_state', 'visible')...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom