Bug 795373 - RFE: Search Content Specs by author
Summary: RFE: Search Content Specs by author
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-20 11:20 UTC by Joshua Wulf
Modified: 2014-10-19 23:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-22 02:42:44 UTC


Attachments (Terms of Use)

Description Joshua Wulf 2012-02-20 11:20:38 UTC
Currently we can search the Content Specs using:

csprocessor search -c "Test Book"

This searches the Content Specs and returns:

    ID                TITLE  PRODUCT  VERSION  CREATED BY
  6226  Your Name Test Book  Testing        1       jwulf

A search like:
csprocessor search -c "Testing"

returns results. 

A search like:

csprocessor search -c "jwulf"

returns:
INFO:  No Content Specifications were found in the database.

Can we make the search function search author as well, or alternatively provide another switch to control which fields are searched.

Comment 1 Joshua Wulf 2012-02-22 00:13:23 UTC
Currently the search functionality is:

<lnewson> title, product, version and creator
<jwulf> where title OR product OR version OR creator CONTAINS "search term"

Comment 2 Lee Newson 2012-02-22 00:17:48 UTC
Added in 0.21.3.

You can now search by creator. The ability to specify which fields to search on is a bit more complex so i'll look at that at a later stage when it becomes more necessary.

Comment 3 Joshua Wulf 2012-02-22 02:42:44 UTC
Works for me:


[jwulf@radhe temp]$ csprocessor search -c jwulf
CSProcessor client version: 0.17.0
Loading configuration from /home/jwulf/.config/csprocessor.ini
Web Service at http://csprocessor.cloud.lab.eng.bne.redhat.com:8080/ version: 0.21.4

    ID                              TITLE                      PRODUCT  VERSION  CREATED BY
  6179                Writing with Topics                      Internal        5       jwulf
  6180     Guide to Topic-based Authoring  Engineering Content Services        1       jwulf
  6182  Red Hat Engineers Guide to Zanata             Engineering Tools        1       jwulf
  6192       Content Spec Processor Guide  Engineering Content Services        1       jwulf
  6226                Your Name Test Book                       Testing        1       jwulf


Note You need to log in before you can comment on or make changes to this bug.