Dotclear


Ignore:
Timestamp:
08/23/13 13:16:14 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Fix issue #1535 : Allow categories to be ordered by drag and drop
Need to close isse #655 : duplicated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.blog.php

    r1468 r1532  
    555555          $this->triggerBlog(); 
    556556     } 
     557 
     558        /** 
     559        Set category position 
     560 
     561        @param  id              <b>integer</b>          Category ID 
     562        @param  left            <b>integer</b>          Category ID before 
     563        @param  right           <b>integer</b>          Category ID after 
     564        */ 
     565        public function updCategoryPosition($id,$left,$right) 
     566        { 
     567                $this->categories()->updatePosition($id,$left,$right); 
     568                $this->triggerBlog(); 
     569        } 
    557570      
    558571     /** 
Note: See TracChangeset for help on using the changeset viewer.

Sites map