EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #02646


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Browse by document type - How to filter and display only some types of documents


Hi all,

 Just below is the code I have defined in views.pl in order to display the types of documents.

{

          id=>"doctype",

          allow_null => 1,

          hideempty => 1,

             menus => [

               {

                 fields => ["type;quiet"],

               },

              

             ],

             order=>"-date",

                       variations => [

                         "creators_name;first_letter",

                          "divisions",

                          "thesis_type",

                          "date",

                          "DEFAULT"

                        ],

                      

        },

 

Here is the display:

 

There are 5 types of documents.  I would very much like to filter and display only some types of these documents, such as Article, Livre, Monographie.

Please, just tell/show  me which pieces I should insert into the above code section in order to reach my goal.

 

Regards

 

John