1. av
  2. Bug Report
  3. Monday, May 25 2015, 02:27 PM
What rules are sorted attachments to the topic?
For example, we have created several PDF files, numbered them, upload the files one by one from 001 to 068
The result is inexplicable. See for yourself.
http://dialog.social/eng/groups/view/1/topic_id:1
Show you how to sort files by name attached file.
Thanks in advance.
admin Accepted Answer
Admin
Hi,
to order files by name you need to do replace line 15 in /plugins/jsn/socialnetwork/app/Model/Attachment.php from:
$attachments = $this->find('all', array('conditions' => array('plugin_id' => $plugin_id, 'target_id' => $target_id));

to
$attachments = $this->find('all', array('conditions' => array('plugin_id' => $plugin_id, 'target_id' => $target_id), 'order' => 'original_filename'));


We will add this changes in next release...thank for report it
  1. more than a month ago
  2. Bug Report
  3. # 1
av Accepted Answer
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 2
admin Accepted Answer
Admin
For example: http://dialog.social/rus/groups/view/1/topic_id:1
Sorry I can't see this link because is broken :( +

I beg you to consider that each file was a field with a brief description.
For now not sorry, this is not a priority. we want to fix all bugs and add some other features before release stable version. This is not a document manager plugin, the files are only attachments on a topic.
  1. more than a month ago
  2. Bug Report
  3. # 3
av Accepted Answer
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 4
admin Accepted Answer
Admin
Hi,
we will fix in next release (scheduled for this friday), now the filename is limited to 128 chars in Database.
  1. more than a month ago
  2. Bug Report
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.