cancel
Showing results for 
Search instead for 
Did you mean: 

Setting default count for 'Items Per Page'

siquser
Champ in-the-making
Champ in-the-making
After logging sucessfully into alfresco, I changed my setting to display the number of items ("Items per page") to 99, then i logged off.
Now if I login again, the setting is not persisted as 99, its gets changed back to count of items in the container (it was displaying 8 in my case as that comtainer had 8 items)

Any idea how to change this settings so that it does not rever back?
3 REPLIES 3

dwilson
Champ in-the-making
Champ in-the-making
I'd love to know the answer to this too, along with changing the default web client setting to show content by detail view instead of icon.

I've encountered random bugs when trying to get the items per page to work properly, such as number changes not posting in some browsers even if I press enter or click somewhere else.  (Seems more common while looking at search results.)

alukas
Champ in-the-making
Champ in-the-making
I'm not sure if this is what you want, but default settings for items per page are stored in web-client-config.xml [1].

I wanted the default browsing view to show 15 items per page. So I had to change the icons value from 9 to 15.
See code below.

         <view-defaults>
            <browse>
               <!– allowable values: list|details|icons –>
               <view>icons</view>
               <page-size>
                  <list>10</list>
                  <details>10</details>
                  <icons>15</icons>
               </page-size>
            </browse>

After changing the settings a restart is required.

Hope this helped.

[1] In my config where alfresco runs in tomcat (provided by alfresco) the xml file is located in:
<alfresco_home>/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/web-client-config.xml

jay_chandran
Champ in-the-making
Champ in-the-making
Thanks for the tip.  Smiley Happy It worked.