6.0.0-alpha10
5/14/25

[#12431] Sorting in sub-folder cannot work
Summary Sorting in sub-folder cannot work
Queue Gollem
Queue Version 3.0.1
Type Bug
State Assigned
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester busywater (at) gmail (dot) com
Created 07/07/2013 (4329 days ago)
Due
Updated 07/08/2013 (4328 days ago)
Assigned 07/08/2013 (4328 days ago)
Resolved
Milestone
Patch No

History
07/08/2013 09:58:23 AM Jan Schneider Assigned to Jan Schneider
State ⇒ Assigned
 
07/07/2013 06:20:02 AM busywater (at) gmail (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Sorting in sub-folder cannot work
Queue ⇒ Gollem
Milestone ⇒
Patch ⇒ No
Reply to this comment
I discover a problem when using the sorting function in Gollem 3.0.1.

I have only one backends running in smb.  When I go inside a 
sub-folder of the share, trying using one of the sorting (e.g. by 
updated date) on the top.  It cannot return the result in the current 
folder but the root folder of the share.

The backend.local.php is as follows:

// SMB Example
$backends['smb'] = array(
   // Disabled by default
   'disabled' => false,
   'name' => 'W:',
   'driver' => 'smb',
   'hordeauth' => true,
   'params' => array(
       'hostspec' => 'file.sambadom.org',
       'port' => 445,
       'share' => 'Public',
       // Path to the smbclient executable.
       'smbclient' => '/usr/local/samba/bin/smbclient4',
       // IP address of server (only needed if hostname is different from
       // NetBIOS name).
       // 'ipaddress' => '127.0.0.1',
       // The default permissions to set for newly created folders and
       // files.
       // 'permissions' => '750'
   ),
   'loginparams' => array(
       // Allow the user to change to Samba server.
       // 'hostspec' => 'Hostname',
       // Allow the user to change the Samba port.
       // 'port' => 'Port',
       // Allow the user to change the Samba share.
       // 'share' => 'Share',
   ),
   // 'root' => '',
   // 'home' => '',
   // 'createhome' => false,
   // 'filter' => '^regex$',
   // 'quota' => false,
   'attributes' => array(
       'type',
       'name',
       'edit',
       'download',
       'modified',
       'size'
   )
);

Saved Queries