6.0.0-git
2018-12-16

[#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 2013-07-07 (1988 days ago)
Due
Updated 2013-07-08 (1987 days ago)
Assigned 2013-07-08 (1987 days ago)
Resolved
Milestone
Patch No

History
2013-07-08 09:58:23 Jan Schneider Assigned to Jan Schneider
State ⇒ Assigned
 
2013-07-07 06:20:02 busywater (at) gmail (dot) com Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
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